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

This commit is contained in:
Eugen Rochko 2017-12-15 01:54:05 +01:00 committed by GitHub
parent 7da34ff0a3
commit 99a208cd8f

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?