diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-10-05 20:02:08 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-10-05 22:04:23 +0200 |
commit | d6634eb14e3fd6afdfd8b1f0a74a200a55c2826d (patch) | |
tree | 3aebd8ccbd4a9944bc85bf3cc9c3880cb33b4681 /Zotlabs/Lib/Activity.php | |
parent | afee2cf71ac36b7ed0ee390c4c595c15af96f5f6 (diff) | |
download | volse-hubzilla-d6634eb14e3fd6afdfd8b1f0a74a200a55c2826d.tar.gz volse-hubzilla-d6634eb14e3fd6afdfd8b1f0a74a200a55c2826d.tar.bz2 volse-hubzilla-d6634eb14e3fd6afdfd8b1f0a74a200a55c2826d.zip |
fix zap->hubzlla event title compatibility
(cherry picked from commit d8b8d8ceb5cc9d701f91dac26834af15f3257cce)
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 3 |
1 files changed, 2 insertions, 1 deletions
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; |