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
commit a89b66c88e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)) {