allow [patrons]
parent
8df3135ad0
commit
4e86e20a5a
|
@ -1045,7 +1045,7 @@ class User(Base):
|
||||||
if not cls.can_see(user, other.author): return False
|
if not cls.can_see(user, other.author): return False
|
||||||
if user and user.id == other.author_id: return True
|
if user and user.id == other.author_id: return True
|
||||||
if isinstance(other, Submission):
|
if isinstance(other, Submission):
|
||||||
if not (user and user.patron) and other.title.lower().startswith('[paypigs]'):
|
if not (user and user.patron) and (other.title.lower().startswith('[paypigs]') or other.title.lower().startswith('[patrons]')):
|
||||||
return False
|
return False
|
||||||
if other.sub and not cls.can_see(user, other.subr):
|
if other.sub and not cls.can_see(user, other.subr):
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue