Aevann 2023-02-26 14:24:07 +02:00
parent 663cdde1f4
commit 26d1b6bb0a
1 changed files with 3 additions and 0 deletions

View File

@ -979,6 +979,9 @@ class User(Base):
else:
if other.parent_submission:
if not (user and user.patron) and other.post.title.lower().startswith('[paypigs]'):
return False
if user and user.id == other.post.author_id: return True
if other.post.sub and not cls.can_see(user, other.post.subr): return False
# if not cls.can_see(user, other.post): return False