Merge branch 'cherry-pick-d8b8d8ce' into 'dev'

fix zap->hubzlla event title compatibility

See merge request hubzilla/core!1749
This commit is contained in:
Max Kostikov 2019-10-06 11:18:35 +02:00
commit a435363b94

View File

@ -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;