about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/lib/status_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/status_filter.rb b/app/lib/status_filter.rb
index e6c6a39e5..a0af9793e 100644
--- a/app/lib/status_filter.rb
+++ b/app/lib/status_filter.rb
@@ -13,7 +13,7 @@ class StatusFilter
   end
 
   def filtered?
-    return true if status.nil? || account.nil?
+    return true if status.nil?
     return false if !account.nil? && account.id == status.account_id
     return true if redis.sismember("filtered_statuses:#{account.id}", status.id)
     if blocked_by_policy? || (account_present? && filtered_status?) || silenced_account?