Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
abunchtell
/
mastodon
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Activité
Parcourir la source
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
il y a 4 ans
committed by
Eugen Rochko
Parent
827e590d8e
révision
345bba4812
1 fichiers modifiés
avec
1 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+1
-1
app/lib/spam_check.rb
+ 1
- 1
app/lib/spam_check.rb
Voir le fichier
@@ -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?
Écrire
Aperçu
Chargement…
Annuler
Enregistrer