aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-10-09 18:17:37 +0200
committerMario Vavti <mario@mariovavti.com>2024-10-09 18:17:37 +0200
commit45c0091d3d5ce1aae1f4915dfd4c15865a011fe1 (patch)
tree8a9c4dd92ca86a3ee0fec353de9b80f49aef3a2a /Zotlabs/Lib/Activity.php
parent75184355d02007593d978a13b7e57514e6b08f63 (diff)
downloadvolse-hubzilla-45c0091d3d5ce1aae1f4915dfd4c15865a011fe1.tar.gz
volse-hubzilla-45c0091d3d5ce1aae1f4915dfd4c15865a011fe1.tar.bz2
volse-hubzilla-45c0091d3d5ce1aae1f4915dfd4c15865a011fe1.zip
more work on porting containers from streams
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 2b9beb3f5..dfbdacf18 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -974,7 +974,7 @@ class Activity {
// inReplyTo needs to be set in the activity for followup actions (Like, Dislike, Announce, etc.),
// but *not* for comments and RSVPs, where it should only be present in the object
- if (!in_array($ret['type'], ['Create', 'Update', 'Accept', 'Reject', 'TentativeAccept', 'TentativeReject'])) {
+ if (!in_array($ret['type'], ['Create', 'Update', 'Add', 'Remove', 'Accept', 'Reject', 'TentativeAccept', 'TentativeReject'])) {
$ret['inReplyTo'] = ((strpos($i['thr_parent'], 'http') === 0) ? $i['thr_parent'] : z_root() . '/item/' . urlencode($i['thr_parent']));
}
@@ -1067,11 +1067,8 @@ class Activity {
call_hooks('encode_activity', $hookinfo);
-//hz_syslog(print_r($hookinfo['encoded'], true));
-
return $hookinfo['encoded'];
-
}
// Returns an array of URLS for any mention tags found in the item array $i.