1
1
Fork 0

Merge pull request #5982 from annando/ap-inboxes

Bugfix: We hadn't deliverd AP posts to all intended receivers
This commit is contained in:
Hypolite Petovan 2018-10-21 02:57:22 -04:00 committed by GitHub
commit b6075de6f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -476,7 +476,7 @@ class Transmitter
foreach ($permissions[$element] as $receiver) { foreach ($permissions[$element] as $receiver) {
if ($receiver == $item_profile['followers']) { if ($receiver == $item_profile['followers']) {
$inboxes = self::fetchTargetInboxesforUser($uid, $personal); $inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal));
} else { } else {
$profile = APContact::getByURL($receiver, false); $profile = APContact::getByURL($receiver, false);
if (!empty($profile)) { if (!empty($profile)) {