From 902151918c46e4ff9a40c5dc66a163aac0267f8e Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 6 Oct 2020 10:03:57 +0000 Subject: 5.0RC testing: do not attempt zot6 delivery of anonymous comments - the author is not a valid actor --- Zotlabs/Daemon/Notifier.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Zotlabs/Daemon') 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'])) { -- cgit v1.2.3