From 651a28814815196c1aed2d6bc1adb99fd642c6f0 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 22 Jan 2024 09:17:55 +0000 Subject: set item_uplink to 0 just to be sure (this should not be necessary) --- Zotlabs/Lib/Activity.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zotlabs/Lib') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 1f36177bd..cf0cf8734 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3370,6 +3370,8 @@ class Activity { if ($announce_init) { // Store the sender of the initial announce $item['source_xchan'] = $observer_hash; + // WARNING: the presence of both source_xchan and non-zero item_uplink here will cause a delivery loop + $item['item_uplink'] = 0; $item['verb'] = 'Announce'; $item['parent_mid'] = $item['thr_parent'] = $item['mid']; $item['item_thread_top'] = 1; -- cgit v1.2.3