]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: We hadn't deliverd AP posts to all intended receivers
authorMichael <heluecht@pirati.ca>
Sun, 21 Oct 2018 06:10:24 +0000 (06:10 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 21 Oct 2018 06:10:24 +0000 (06:10 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 2291b68e9a2c9acc116ce0130813168938b72478..7295408d83c7242822d3b48590202dd2427fa4eb 100644 (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)) {