aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Notifier.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-12 08:13:42 +0000
committerMario <mario@mariovavti.com>2023-06-12 08:13:42 +0000
commit59b217f7eaf4d5efd08ca8db82866b38ce1f5cf4 (patch)
tree7594c9dbe757d3f9b7cc33e4e7a19c5853b446a7 /Zotlabs/Daemon/Notifier.php
parentfb9a193c44ea55f3119fbbafe8b421c1a4087f18 (diff)
downloadvolse-hubzilla-59b217f7eaf4d5efd08ca8db82866b38ce1f5cf4.tar.gz
volse-hubzilla-59b217f7eaf4d5efd08ca8db82866b38ce1f5cf4.tar.bz2
volse-hubzilla-59b217f7eaf4d5efd08ca8db82866b38ce1f5cf4.zip
only remove the owner from delivery if its their post and minor cleanup
Diffstat (limited to 'Zotlabs/Daemon/Notifier.php')
-rw-r--r--Zotlabs/Daemon/Notifier.php2
1 files changed, 1 insertions, 1 deletions
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']]));
}