about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-01-25 17:34:01 -0600
committermultiple creatures <dev@multiple-creature.party>2020-01-25 17:34:01 -0600
commitcb38a58997369fcc146469670213d3ac925ab4a1 (patch)
tree8fb4e9663edbc2e1cc9b7ff25eddc0ded89a169d /app
parent2e50d64956f285f178b619218061db9f4420fa25 (diff)
fix breaking the server trying to fix replies not showing up >.>;
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)