diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-11 15:10:22 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-11 15:10:22 +0100 |
commit | dc851c922ee1c244146baf1415a7bce4a25cccef (patch) | |
tree | 556afd9860bad265d4e0df90aba5af2184ae7a9e /app/lib | |
parent | 00b5731ecb2c29dd5c79a233f046a9655031ec71 (diff) |
Mentions in private statuses allow mentioned people to see them
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/feed_manager.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb index f0928a945..623a1af03 100644 --- a/app/lib/feed_manager.rb +++ b/app/lib/feed_manager.rb @@ -107,7 +107,6 @@ class FeedManager should_filter ||= receiver.blocking?(status.account) # or it's from someone I blocked should_filter ||= receiver.blocking?(status.mentions.includes(:account).map(&:account)) # or if it mentions someone I blocked should_filter ||= (status.account.silenced? && !receiver.following?(status.account)) # of if the account is silenced and I'm not following them - should_filter ||= (status.private_visibility? && !receiver.following?(status.account)) # or if the mentioned account is not permitted to see the private status if status.reply? && !status.in_reply_to_account_id.nil? # or it's a reply should_filter ||= receiver.blocking?(status.in_reply_to_account) # to a user I blocked |