diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-21 16:30:09 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-21 16:30:09 -0600 |
commit | 0557b9a10162808e984c150f0a5f365ef6607373 (patch) | |
tree | a58ff3c3557fa2cf2cb250b6dd83412b617c3c5e /app/lib | |
parent | 4cb1d42ba2ffbd31c5e865e55c408363ca35f47a (diff) |
do not add public collection to `cc` field in inivisible mode
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/activitypub/tag_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/tag_manager.rb b/app/lib/activitypub/tag_manager.rb index 22e26d116..1e41cbb03 100644 --- a/app/lib/activitypub/tag_manager.rb +++ b/app/lib/activitypub/tag_manager.rb @@ -90,7 +90,7 @@ class ActivityPub::TagManager when 'public' cc << account_followers_url(status.account) when 'unlisted', 'local' - cc << COLLECTIONS[:public] + (cc << COLLECTIONS[:public]) unless status.account.hidden? end unless status.direct_visibility? || status.limited_visibility? |