diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-01-10 20:19:29 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-01-10 20:19:29 -0600 |
commit | 0a52e51d007fae4cf15eba7011d326eb70b067a7 (patch) | |
tree | 9607535700e03d812c3e063b1330fc95f6963069 /app | |
parent | 1268277a8c203bcae515e0ccc8b3432119bafed2 (diff) |
avoid checking filter cache twice
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/status_filter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/status_filter.rb b/app/lib/status_filter.rb index dbfa24dfe..f9d88c3af 100644 --- a/app/lib/status_filter.rb +++ b/app/lib/status_filter.rb @@ -42,9 +42,9 @@ class StatusFilter # filtered by user? if account.user.filters_enabled && !account.user.filter_timelines_only if account.user.invert_filters - return true unless phrase_filtered?(status, account.id) + return true unless phrase_filtered?(status, account.id, skip_redis: true) else - return true if phrase_filtered?(status, account.id) + return true if phrase_filtered?(status, account.id, skip_redis: true) end end |