remove platform-specific posts

pull/90/head
Aevann 2023-01-22 09:57:47 +02:00
parent fff3fac07c
commit 75cb26ccf4
1 changed files with 0 additions and 4 deletions

View File

@ -955,10 +955,6 @@ 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 browser != 'webview' and other.author_id == AEVANN_ID and other.title.startswith('[ANDROID]'):
return user and user.admin_level >= PERMS['POST_COMMENT_MODERATION']
if browser != 'apple' and other.author_id == CARP_ID and other.title.startswith('[APPLE]'):
return user and user.admin_level >= PERMS['POST_COMMENT_MODERATION']
if other.sub and not cls.can_see(user, other.subr): return False
else:
if other.parent_submission: