diff options
author | Mario <mario@mariovavti.com> | 2020-10-10 19:06:35 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-10-10 19:06:35 +0000 |
commit | ed845d93bc7ac5f46ccb1ea95d53bc5e5f2756bd (patch) | |
tree | 042e5208a0bcde20b629501a2ef19781fd478a93 /Zotlabs | |
parent | 595f3d99b4bd2618630f9a49423b29bfbfcbca41 (diff) | |
download | volse-hubzilla-ed845d93bc7ac5f46ccb1ea95d53bc5e5f2756bd.tar.gz volse-hubzilla-ed845d93bc7ac5f46ccb1ea95d53bc5e5f2756bd.tar.bz2 volse-hubzilla-ed845d93bc7ac5f46ccb1ea95d53bc5e5f2756bd.zip |
5.0RC testing: fix issue with event responses
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index e3798415c..af7d945ba 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -168,7 +168,7 @@ class Activity { if($r) { xchan_query($r,true); $r = fetch_post_tags($r,true); - if ($r[0]['verb'] === 'Create' && $r[0]['obj_type'] === ACTIVITY_OBJ_EVENT) { + if (in_array($r[0]['verb'], ['Create', 'Invite']) && $r[0]['obj_type'] === ACTIVITY_OBJ_EVENT) { $r[0]['verb'] = 'Invite'; return self::encode_activity($r[0]); } |