sneed
parent
dd5942a2f2
commit
625778721e
|
@ -956,6 +956,8 @@ class User(Base):
|
|||
if user and user.id == other.author_id: return True
|
||||
if isinstance(other, Submission):
|
||||
if other.sub and not cls.can_see(user, other.subr): return False
|
||||
if any(i in other.title.lower() for i in FORBIDDEN) and not (user and user.truescore > 100):
|
||||
return False
|
||||
else:
|
||||
if other.parent_submission:
|
||||
if user and user.id == other.post.author_id: return True
|
||||
|
|
Loading…
Reference in New Issue