From d6634eb14e3fd6afdfd8b1f0a74a200a55c2826d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 5 Oct 2019 20:02:08 +0000 Subject: fix zap->hubzlla event title compatibility (cherry picked from commit d8b8d8ceb5cc9d701f91dac26834af15f3257cce) --- Zotlabs/Lib/Activity.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index b869c55b5..844127ee3 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -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; -- cgit v1.2.3