forked from MarseyWorld/MarseyWorld
allow [patrons]
parent
8df3135ad0
commit
4e86e20a5a
|
@ -1045,7 +1045,7 @@ 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 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
|
||||
if other.sub and not cls.can_see(user, other.subr):
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue