diff options
author | ThibG <thib@sitedethib.com> | 2020-01-20 19:20:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 19:20:40 +0100 |
commit | a8c109baca4d02cc8aed454e231518c1f8ec1844 (patch) | |
tree | a828f3968b151924656061bfc709b00565aff877 /app/lib | |
parent | ddcf78d8d3e2a8cb9aa04f8ff42f9d8e185b0354 (diff) | |
parent | dc2ab6e646bb721ef2e1be268b876bd00e8fa802 (diff) |
Merge pull request #1264 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/spam_check.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/spam_check.rb b/app/lib/spam_check.rb index 5b40514fd..652d03615 100644 --- a/app/lib/spam_check.rb +++ b/app/lib/spam_check.rb @@ -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?) end def no_unsolicited_mentions? |