about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-26 03:48:17 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commitd8f182d2358fae9ddb40e53199f2c435872c5aec (patch)
tree4da323a9d74b61b626a1eb323434e46f10e45388 /app
parent7ce2e174cf1ecc9573be41e5676ae1635a7ee29d (diff)
Make sure parent account excists.
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 4557c3db7..8ba8fde2f 100644
--- a/app/lib/status_filter.rb
+++ b/app/lib/status_filter.rb
@@ -84,7 +84,7 @@ class StatusFilter
   end
 
   def reply_to_blocker?
-    status.reply? && status.in_reply_to_account.blocking?(status.account_id)
+    status.in_reply_to_account.present? && status.in_reply_to_account.blocking?(status.account_id)
   end
 
   def non_self_reply?