This commit is contained in:
+1
-1
@@ -954,7 +954,7 @@ def handle_report(report_id: str, target_id: str, acct: str, is_local: bool,
|
|||||||
record_action(target_id, acct, "suspend", "email-risk", 1, report_id)
|
record_action(target_id, acct, "suspend", "email-risk", 1, report_id)
|
||||||
log.warning("auto-suspended acct=%s (flagged email domain=%s, risk=%d); "
|
log.warning("auto-suspended acct=%s (flagged email domain=%s, risk=%d); "
|
||||||
"report left open", acct, domain, risk)
|
"report left open", acct, domain, risk)
|
||||||
dm_moderator(f"🚨 Auto-suspended @{acct} — email domain '{domain}' flagged "
|
dm_moderator(f"🚨 Auto-suspend @{acct} — email domain '{domain}' flagged "
|
||||||
f"high-risk by check-mail.org (risk={risk}). Report left open "
|
f"high-risk by check-mail.org (risk={risk}). Report left open "
|
||||||
f"for review: {report_url}")
|
f"for review: {report_url}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user