aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-22 09:17:55 +0000
committerMario <mario@mariovavti.com>2024-01-22 09:17:55 +0000
commit651a28814815196c1aed2d6bc1adb99fd642c6f0 (patch)
tree689470a54e1acf1e892ed5a3255852ccc32c5a76
parentb0664f7349c60183f0cb9597bd02b741d3c165c8 (diff)
downloadvolse-hubzilla-651a28814815196c1aed2d6bc1adb99fd642c6f0.tar.gz
volse-hubzilla-651a28814815196c1aed2d6bc1adb99fd642c6f0.tar.bz2
volse-hubzilla-651a28814815196c1aed2d6bc1adb99fd642c6f0.zip
set item_uplink to 0 just to be sure (this should not be necessary)
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 2 insertions, 0 deletions
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;