Merge pull request #5985 from annando/ap-followers

AP: We now send the previous followers collection as well
This commit is contained in:
Hypolite Petovan 2018-10-21 17:05:34 -04:00 committed by GitHub
commit 1176a4240a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;