このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
abunchtell
/
mastodon
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
アクティビティ
ソースを参照
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行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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?
書き込み
プレビュー
読み込み中…
キャンセル
保存