diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-22 20:11:55 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | c1d2febf036020551a4a81dd83089daf6414546f (patch) | |
tree | e22a0c2e66d6db50ae9d9708cce2fba2b2da616a /app/lib | |
parent | 05ed9b6ceadf4aba4e71c84e5b8df0985e1bee4e (diff) |
these aint methods silly
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/status_filter.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/lib/status_filter.rb b/app/lib/status_filter.rb index b2e80ec92..4557c3db7 100644 --- a/app/lib/status_filter.rb +++ b/app/lib/status_filter.rb @@ -28,9 +28,9 @@ class StatusFilter def filtered_reference? # filter muted/blocked - return true if account&.user&.setting_hide_replies_blocked? && reply_to_blocked? - return true if account&.user&.setting_hide_replies_muted? && reply_to_muted? - return true if account&.user&.setting_hide_replies_blocker? && reply_to_blocker? + return true if account&.user&.setting_hide_replies_blocked && reply_to_blocked? + return true if account&.user&.setting_hide_replies_muted && reply_to_muted? + return true if account&.user&.setting_hide_replies_blocker && reply_to_blocker? # kajiht has no filters if status has no mentions return false if status&.mentions.nil? |