fix zap->hubzlla event title compatibility
(cherry picked from commit d8b8d8ceb5cc9d701f91dac26834af15f3257cce)
This commit is contained in:
parent
afee2cf71a
commit
d6634eb14e
@ -1693,11 +1693,12 @@ class Activity {
|
||||
}
|
||||
|
||||
if($act->obj['type'] === 'Event') {
|
||||
|
||||
$s['obj'] = [];
|
||||
$s['obj']['asld'] = $act->obj;
|
||||
$s['obj']['type'] = ACTIVITY_OBJ_EVENT;
|
||||
$s['obj']['id'] = $act->obj['id'];
|
||||
$s['obj']['title'] = $act->obj['summary'];
|
||||
$s['obj']['title'] = $act->obj['name'];
|
||||
|
||||
if(strpos($act->obj['startTime'],'Z'))
|
||||
$s['obj']['adjust'] = true;
|
||||
|
Reference in New Issue
Block a user