Consider admins and moderators as trusted, for the purpose of the spam checker. Fixes #12872
@@ -143,7 +143,7 @@ class SpamCheck
end
def trusted?
- @account.trust_level > Account::TRUST_LEVELS[:untrusted]
+ @account.trust_level > Account::TRUST_LEVELS[:untrusted] || (@account.local? && @account.user_staff?)
def no_unsolicited_mentions?