From 57796a2f962d045445cbf69237bb3d6786e4d0d4 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 12 Jun 2023 08:13:42 +0000 Subject: only remove the owner from delivery if its their post and minor cleanup (cherry picked from commit 59b217f7eaf4d5efd08ca8db82866b38ce1f5cf4) --- Zotlabs/Daemon/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Daemon/Notifier.php') diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index d5fe7ee6d..592dd2c38 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -409,7 +409,7 @@ class Notifier { self::$private = false; self::$recipients = collect_recipients($parent_item, self::$private); - if ($top_level_post) { + if ($top_level_post && intval($target_item['item_wall'])) { // remove clones who will receive the post via sync self::$recipients = array_values(array_diff(self::$recipients, [$target_item['owner_xchan']])); } -- cgit v1.2.3