Terminology change: instead of "banning" comments or posts, remove them.
This commit is contained in:
parent
c610c60dc0
commit
2f0a3fc278
8 changed files with 63 additions and 30 deletions
|
@ -475,7 +475,7 @@ def _do_antispam_submission_check(v:User, validated:validators.ValidatedSubmissi
|
|||
ma=ModAction(
|
||||
user_id=AUTOJANNY_ID,
|
||||
target_submission_id=post.id,
|
||||
kind="ban_post",
|
||||
kind="remove_post",
|
||||
_note="spam"
|
||||
)
|
||||
g.db.add(ma)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue