allow me and sneks to see apple posts

pull/45/head
Aevann1 2022-12-04 22:11:16 +02:00
parent e66234eb6a
commit c56ceaf668
1 changed files with 1 additions and 1 deletions

View File

@ -1024,7 +1024,7 @@ class User(Base):
if "!YOU!" in other.title and not user: return False
if browser != 'webview' and other.author_id == AEVANN_ID and other.title.startswith('[ANDROID]'):
return False
if browser != 'apple' and other.author_id == CARP_ID and other.title.startswith('[APPLE]'):
if browser != 'apple' and other.author_id == CARP_ID and other.title.startswith('[APPLE]') and not (user and user.id in (AEVANN_ID, SNAKES_ID)):
return False
if other.sub and not cls.can_see(user, other.subr): return False
else: