From 3fd5c79025ad30d23793ab2f6246d15f4b44c73c Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 6 Jun 2021 13:25:42 +0000 Subject: [PATCH] Add the forum followers to forum posts --- src/Protocol/ActivityPub/Transmitter.php | 3 +++ 1 file changed, 3 insertions(+) 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']; }