aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Notifier.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-06 10:03:57 +0000
committerMario <mario@mariovavti.com>2020-10-06 10:03:57 +0000
commit902151918c46e4ff9a40c5dc66a163aac0267f8e (patch)
tree04cff3dc697880257061f2e3a0c867b16e26e0e4 /Zotlabs/Daemon/Notifier.php
parent5dd1ea21afcd4df9e91e6e215cb8ae1d32f5616e (diff)
downloadvolse-hubzilla-902151918c46e4ff9a40c5dc66a163aac0267f8e.tar.gz
volse-hubzilla-902151918c46e4ff9a40c5dc66a163aac0267f8e.tar.bz2
volse-hubzilla-902151918c46e4ff9a40c5dc66a163aac0267f8e.zip
5.0RC testing: do not attempt zot6 delivery of anonymous comments - the author is not a valid actor
Diffstat (limited to 'Zotlabs/Daemon/Notifier.php')
-rw-r--r--Zotlabs/Daemon/Notifier.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index 97889da34..b605fe96e 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -294,6 +294,12 @@ class Notifier {
$r = fetch_post_tags($r);
$target_item = $r[0];
+
+ if($target_item['author']['xchan_network'] === 'anon') {
+ logger('notifier: target item author is not a fetchable actor', LOGGER_DEBUG);
+ return;
+ }
+
$deleted_item = false;
if(intval($target_item['item_deleted'])) {