From 6ee8a966bf36dd57c18a836c81717ac08b4ace04 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 21 Sep 2022 10:54:05 +0200 Subject: [PATCH] Fix forum delivery in case of beiong addressed via "@" --- src/Protocol/ActivityPub/Transmitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 162745c396..297020e8ed 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -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']; } } -- 2.39.5