forked from rDrama/rDrama
add code so i can make a post that only legacy android app users can see
parent
39558a2812
commit
aad1d72f43
|
@ -1033,6 +1033,8 @@ class User(Base):
|
|||
if user and user.id == other.author_id: return True
|
||||
if isinstance(other, Submission):
|
||||
if "!YOU!" in other.title and not user: return False
|
||||
if not g.webview and other.author_id == AEVANN_ID and other.title.startswith('[ANDROID]'):
|
||||
return False
|
||||
if other.sub and not cls.can_see(user, other.subr): return False
|
||||
else:
|
||||
if not other.parent_submission:
|
||||
|
|
Loading…
Reference in New Issue