diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-06-20 02:52:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 02:52:34 +0200 |
commit | 7696f77245c2302787d239da50248385b3292a5e (patch) | |
tree | 81db43f660c382679cc7a834d0be06c0218592a8 /app/models/account_filter.rb | |
parent | 33144e132d28f5b820ae12e4b8e4fb34ca47b1d6 (diff) |
Add moderation API (#9387)
Fix #8580 Fix #7143
Diffstat (limited to 'app/models/account_filter.rb')
-rw-r--r-- | app/models/account_filter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/account_filter.rb b/app/models/account_filter.rb index d2503100c..c3b1fe08d 100644 --- a/app/models/account_filter.rb +++ b/app/models/account_filter.rb @@ -37,6 +37,8 @@ class AccountFilter Account.without_suspended when 'pending' accounts_with_users.merge User.pending + when 'disabled' + accounts_with_users.merge User.disabled when 'silenced' Account.silenced when 'suspended' |