remove platform-specific posts
parent
fff3fac07c
commit
75cb26ccf4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue