Revert "user and"

This reverts commit 0b146d0b7b.
pull/24/head
Aevann1 2022-11-26 22:08:54 +02:00 committed by geese_suck
parent fa7904abfd
commit 54cf53f1f5
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
1 changed files with 1 additions and 1 deletions

View File

@ -1000,7 +1000,7 @@ class User(Base):
if not cls.can_see(user, other.author): return False
if user and user.id == other.author_id: return True
if isinstance(other, Submission):
if "!YOU!" in other.title and not (user and user.can_see_you_post): return False
if "!YOU!" in other.title and not user.can_see_you_post: return False
if other.sub and not cls.can_see(user, other.subr): return False
else:
if not other.parent_submission: