From a8de999b7c87d1cd05f625f0d950694f60e28f24 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 12 Nov 2020 20:17:03 +0000 Subject: do not store actors without an inbox - they are not valid --- Zotlabs/Lib/Activity.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 48714a48d..a8e0da776 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1542,6 +1542,12 @@ class Activity { $inbox = $person_obj['inbox']; + // invalid identity + + if (! $inbox) { + return; + } + $collections = []; if($inbox) { -- cgit v1.2.3