about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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 a0af9793e..6d65e2c00 100644
--- a/app/lib/status_filter.rb
+++ b/app/lib/status_filter.rb
@@ -14,7 +14,7 @@ class StatusFilter
 
   def filtered?
     return true if status.nil?
-    return false if !account.nil? && account.id == status.account_id
+    return false if !account.nil? && account.id == status.account_id || account.nil?
     return true if redis.sismember("filtered_statuses:#{account.id}", status.id)
     if blocked_by_policy? || (account_present? && filtered_status?) || silenced_account?
       redis.sadd("filtered_statuses:#{account.id}", status.id)