This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
abunchtell
/
mastodon
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Activity
Преглед изворни кода
Exempt staff members from spam check (
#12874
)
Consider admins and moderators as trusted, for the purpose of the spam checker.
Fixes
#12872
master^2
ThibG
пре 4 година
committed by
Eugen Rochko
родитељ
827e590d8e
комит
345bba4812
1 измењених фајлова
са
1 додато
и
1 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/lib/spam_check.rb
+ 1
- 1
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?
Write
Preview
Loading…
Откажи
Сачувај