better shadowban propagation

master
Aevann1 2022-12-13 23:12:55 +02:00
parent 7ce7841fe6
commit 129f335363
1 changed files with 16 additions and 0 deletions

View File

@ -896,6 +896,22 @@ def shadowban(user_id, v):
g.db.add(user) g.db.add(user)
check_for_alts(user, False) check_for_alts(user, False)
for u in user.alts_unique:
u.shadowbanned = v.id
g.db.add(u)
for u in u.alts_unique:
u.shadowbanned = v.id
g.db.add(u)
for u in u.alts_unique:
u.shadowbanned = v.id
g.db.add(u)
for u in u.alts_unique:
u.shadowbanned = v.id
g.db.add(u)
for u in u.alts_unique:
u.shadowbanned = v.id
g.db.add(u)
ma = ModAction( ma = ModAction(
kind="shadowban", kind="shadowban",
user_id=v.id, user_id=v.id,