From 37104be2179df1b77b8ff97256cdefb77429dc6b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 19 Nov 2022 23:22:03 +0200 Subject: [PATCH] add exclusive android app posts --- files/classes/user.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/classes/user.py b/files/classes/user.py index 7c7aa5d04e..acb2c42ce4 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -977,6 +977,8 @@ class User(Base): if user and user.id == other.author_id: return True if isinstance(other, Submission): if other.sub and not cls.can_see(user, other.subr): return False + if other.title.startswith('[android app]') and other.author_id == AEVANN_ID and not g.webview: + return False else: if not other.parent_submission: if not user: return False