Merge pull request #8608 from MrPetovan/bug/notices

Check $item_profile is populated in ActivityPub\Transmitter
This commit is contained in:
Michael Vogel
2020-05-08 16:32:25 +02:00
committed by GitHub

View File

@@ -639,7 +639,7 @@ class Transmitter
continue;
}
if ($receiver == $item_profile['followers']) {
if ($item_profile && $receiver == $item_profile['followers']) {
$inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal));
} else {
if (Contact::isLocal($receiver)) {