diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-03-30 13:40:10 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-03-30 13:40:10 +0200 |
commit | 51a297e1287a9b2dd3b2d2b19433820e996779db (patch) | |
tree | d1bb823de4bff3ee9676835dc3e7614ed66deb65 /app/models | |
parent | eaea849035ea407afb2d5db411dbddc1ccca6f44 (diff) | |
parent | 2cc7ba26715c9f3fcc81ee5d30b282b1493a2e0b (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/account_filter.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/account_filter.rb b/app/models/account_filter.rb index 9da1522dd..ec309ce09 100644 --- a/app/models/account_filter.rb +++ b/app/models/account_filter.rb @@ -80,6 +80,10 @@ class AccountFilter accounts_with_users.merge(User.pending) when 'suspended' Account.suspended + when 'disabled' + accounts_with_users.merge(User.disabled) + when 'silenced' + Account.silenced else raise "Unknown status: #{value}" end |