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
1 changed files with 1 additions and 1 deletions

View File

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