From 45c0091d3d5ce1aae1f4915dfd4c15865a011fe1 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 9 Oct 2024 18:17:37 +0200 Subject: more work on porting containers from streams --- Zotlabs/Lib/Activity.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Zotlabs/Lib/Activity.php') 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. -- cgit v1.2.3