]> git.mxchange.org Git - friendica.git/commitdiff
We now send the previous followers collection as well
authorMichael <heluecht@pirati.ca>
Sun, 21 Oct 2018 20:49:50 +0000 (20:49 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 21 Oct 2018 20:49:50 +0000 (20:49 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 7295408d83c7242822d3b48590202dd2427fa4eb..a0d92a571d4dabe559a8fdd6b790b1991b42eb8c 100644 (file)
@@ -289,7 +289,7 @@ class Transmitter
 
                        foreach ($activity[$element] as $receiver) {
                                if ($receiver == $profile['followers'] && !empty($item_profile['followers'])) {
-                                       $receiver = $item_profile['followers'];
+                                       $permissions[$element][] = $item_profile['followers'];
                                }
                                if (!in_array($receiver, $exclude)) {
                                        $permissions[$element][] = $receiver;