From: Michael Date: Sun, 6 Jun 2021 13:25:42 +0000 (+0000) Subject: Add the forum followers to forum posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3fd5c79025ad30d23793ab2f6246d15f4b44c73c;p=friendica.git Add the forum followers to forum posts --- diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 018fdc7b0f..f6fd1ad132 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -561,6 +561,9 @@ class Transmitter if (!empty($profile)) { if ($term['type'] == Tag::EXCLUSIVE_MENTION) { $exclusive = true; + if (!empty($profile['followers']) && ($profile['type'] == 'Group')) { + $data['cc'][] = $profile['followers']; + } } $data['to'][] = $profile['url']; }