aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-01-08 13:12:01 +0100
committerMario Vavti <mario@mariovavti.com>2021-01-08 13:12:01 +0100
commitd1a61c6dce36b8e57237072993dbd5ee18543b3b (patch)
tree425dacc58c8cf3ac31bc8a815a8548bd8d5cd341
parent16082456dfbb3e3108ba1a1db627f7333d10ddce (diff)
downloadvolse-hubzilla-d1a61c6dce36b8e57237072993dbd5ee18543b3b.tar.gz
volse-hubzilla-d1a61c6dce36b8e57237072993dbd5ee18543b3b.tar.bz2
volse-hubzilla-d1a61c6dce36b8e57237072993dbd5ee18543b3b.zip
allow deletes for e.g. w2w posts where we are the author but item wall is not set. ownership is checked at the receiving side anyway
-rw-r--r--Zotlabs/Daemon/Notifier.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index 18fc57118..626299661 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -466,13 +466,6 @@ class Notifier {
// FIXME add any additional recipients such as mentions, etc.
- // don't send deletions onward for other people's stuff
- // TODO verify this is needed - copied logic from same place in old code
-
- if(intval($target_item['item_deleted']) && (! intval($target_item['item_wall']))) {
- logger('notifier: ignoring delete notification for non-wall item', LOGGER_NORMAL, LOG_NOTICE);
- return;
- }
}
}