Check for empty owners

This commit is contained in:
Michael 2020-08-22 16:34:04 +00:00
parent 4285f4643f
commit 6d9302fbe4

View File

@ -774,6 +774,9 @@ class Processor
}
$owner = User::getOwnerDataById($uid);
if (empty($owner)) {
return;
}
$cid = Contact::getIdForURL($activity['actor'], $uid);
if (!empty($cid)) {
@ -956,6 +959,9 @@ class Processor
}
$owner = User::getOwnerDataById($uid);
if (empty($owner)) {
return;
}
$cid = Contact::getIdForURL($activity['actor'], $uid);
if (empty($cid)) {