]> git.mxchange.org Git - friendica.git/commitdiff
Fix forum delivery in case of beiong addressed via "@"
authorMichael Vogel <icarus@dabo.de>
Wed, 21 Sep 2022 08:54:05 +0000 (10:54 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 21 Sep 2022 08:54:05 +0000 (10:54 +0200)
src/Protocol/ActivityPub/Transmitter.php

index 162745c396e17516355351813d5f23a24a0ab9d3..297020e8ed54b3618ccc5363b25d6341ba7e5ccb 100644 (file)
@@ -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'];
                                                                }
                                                        }