Merge pull request #5982 from annando/ap-inboxes
Bugfix: We hadn't deliverd AP posts to all intended receivers
This commit is contained in:
commit
b6075de6f8
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue