forked from rDrama/rDrama
Temporarily fix permas propagating as shadows.
parent
e66484e029
commit
3efaedbbec
|
@ -840,11 +840,14 @@ class User(Base):
|
||||||
g.db.add(self)
|
g.db.add(self)
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
return
|
return
|
||||||
if u.is_suspended_permanently:
|
## Disabled pending better solution: permabans haven't propagated for
|
||||||
self.shadowbanned = u.banned_by.username
|
## most of Summer 2022. We've gotten somewhat used to this. Think we only
|
||||||
g.db.add(self)
|
## want them to propagate on account creation? Or at least needs discussion.
|
||||||
g.db.commit()
|
# if u.is_suspended_permanently:
|
||||||
return
|
# self.shadowbanned = u.banned_by.username
|
||||||
|
# g.db.add(self)
|
||||||
|
# g.db.commit()
|
||||||
|
# return
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
|
|
Loading…
Reference in New Issue