From 24568c0e2f5f8537da7a6bc6a62b5785edf2cb9f Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 30 Mar 2023 13:23:16 +0000 Subject: add some explanation and remove logging --- Zotlabs/Lib/Libzot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Zotlabs/Lib/Libzot.php') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 709c9dc94..129ac6b56 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1583,6 +1583,11 @@ class Libzot { * There's a chance the current delivery could take place before the cloned copy arrives * hence the item could have the wrong ACL and *could* be used in subsequent deliveries or * access checks. + * + * 30.3.23: block all incoming items from ourselves except if the origin is local. + * This is to prevent multiple relay delivery of items that arrive via sync. + * They have already been relayed at the origin location. + * */ if ($sender === $channel['channel_hash'] && $arr['author_xchan'] === $channel['channel_hash'] && !str_starts_with($arr['mid'], z_root())) { -- cgit v1.2.3