aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-10 19:06:35 +0000
committerMario <mario@mariovavti.com>2020-10-10 19:06:35 +0000
commited845d93bc7ac5f46ccb1ea95d53bc5e5f2756bd (patch)
tree042e5208a0bcde20b629501a2ef19781fd478a93 /Zotlabs
parent595f3d99b4bd2618630f9a49423b29bfbfcbca41 (diff)
downloadvolse-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.php2
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]);
}