fix events until the new event subscription mechanism goes in, as shared events have been broken

This commit is contained in:
friendica 2014-05-07 22:28:19 -07:00
parent e22e94cd97
commit 1a4c99ec02

View File

@ -1457,7 +1457,7 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false) {
if((x($arr,'obj_type')) && (activity_match($arr['obj_type'],ACTIVITY_OBJ_EVENT))) {
require_once('include/event.php');
$ev = bbtoevent($arr['body']);
if(x($ev,'desc') && x($ev,'start')) {
if(x($ev,'description') && x($ev,'start')) {
$ev['event_xchan'] = $arr['author_xchan'];
$ev['uid'] = $channel['channel_id'];
$ev['account'] = $channel['channel_account_id'];