fix last commit

pull/139/head
Aevann 2023-03-11 09:14:13 +02:00
parent 74eb1e6d93
commit 14a2664534
1 changed files with 1 additions and 1 deletions

View File

@ -1212,4 +1212,4 @@ class User(Base):
@lazy
def can_see_my_shit(self):
v = g.v
return not u.shadowbanned or (v and (v.id == u.id or v.can_see_shadowbanned))
return not self.shadowbanned or (v and (v.id == self.id or v.can_see_shadowbanned))