forked from rDrama/rDrama
xcv
parent
3d08f9d4cb
commit
f03c4dc38a
|
@ -409,7 +409,7 @@ class Comment(Base):
|
||||||
|
|
||||||
@lazy
|
@lazy
|
||||||
def collapse_for_user(self, v, path):
|
def collapse_for_user(self, v, path):
|
||||||
if self.author_id == v.id: return False
|
if v and self.author_id == v.id: return False
|
||||||
|
|
||||||
if path == '/admin/removed/comments': return False
|
if path == '/admin/removed/comments': return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue