Merge pull request #11914 from annando/forum-delivery

Fix forum delivery in case of being addressed via "@"
pull/11918/head
Tobias Diekershoff 2022-09-21 11:07:00 +02:00 zatwierdzone przez GitHub
commit 3f3e1a2bf4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -765,7 +765,7 @@ class Transmitter
$data['to'][] = $profile['url'];
} else {
$data['cc'][] = $profile['url'];
if (($item['private'] != Item::PRIVATE) && !empty($actor_profile['followers'])&& !$is_forum_thread) {
if (($item['private'] != Item::PRIVATE) && !empty($actor_profile['followers']) && (!$exclusive || !$is_forum_thread)) {
$data['cc'][] = $actor_profile['followers'];
}
}