Do not hide statuses from silenced accounts from other silenced accounts (#6030)

rebase/4.0.0rc2
Eugen Rochko 2017-12-15 01:54:05 +01:00 committed by GitHub
parent 25b0d7538e
commit 3d3b403359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class StatusFilter
end
def silenced_account?
status_account_silenced? && !account_following_status_account?
!account&.silenced? && status_account_silenced? && !account_following_status_account?
end
def status_account_silenced?