aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-12 20:17:03 +0000
committerMario <mario@mariovavti.com>2020-11-12 20:17:03 +0000
commita8de999b7c87d1cd05f625f0d950694f60e28f24 (patch)
tree376a0a494d4e8f9d5344990875491a09da9b1cda /Zotlabs/Lib/Activity.php
parent0dcbcf93c21a9e143aa580a836403c634429a90c (diff)
downloadvolse-hubzilla-a8de999b7c87d1cd05f625f0d950694f60e28f24.tar.gz
volse-hubzilla-a8de999b7c87d1cd05f625f0d950694f60e28f24.tar.bz2
volse-hubzilla-a8de999b7c87d1cd05f625f0d950694f60e28f24.zip
do not store actors without an inbox - they are not valid
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php6
1 files changed, 6 insertions, 0 deletions
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) {