forked from MarseyWorld/MarseyWorld
don't collapse comment chains
parent
e82dbd69ef
commit
f2e2e05958
|
@ -375,7 +375,7 @@ class Comment(Base):
|
||||||
|
|
||||||
if path == '/admin/removed/comments': return False
|
if path == '/admin/removed/comments': return False
|
||||||
|
|
||||||
if f'/{self.id}' in path: return False
|
if '?context' in path or f'/{self.id}' in path: return False
|
||||||
|
|
||||||
if self.over_18 and not (v and v.over_18) and not (self.post and self.post.over_18): return True
|
if self.over_18 and not (v and v.over_18) and not (self.post and self.post.over_18): return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue