Add the forum followers to forum posts

This commit is contained in:
Michael 2021-06-06 13:25:42 +00:00
parent 56f07d412b
commit 3fd5c79025

View file

@ -561,6 +561,9 @@ class Transmitter
if (!empty($profile)) { if (!empty($profile)) {
if ($term['type'] == Tag::EXCLUSIVE_MENTION) { if ($term['type'] == Tag::EXCLUSIVE_MENTION) {
$exclusive = true; $exclusive = true;
if (!empty($profile['followers']) && ($profile['type'] == 'Group')) {
$data['cc'][] = $profile['followers'];
}
} }
$data['to'][] = $profile['url']; $data['to'][] = $profile['url'];
} }