From d8f182d2358fae9ddb40e53199f2c435872c5aec Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 26 Apr 2019 03:48:17 -0500 Subject: Make sure parent account excists. --- app/lib/status_filter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') 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? -- cgit