allow [patrons]

pull/148/head
Aevann 2023-05-14 19:57:25 +03:00
parent 8df3135ad0
commit 4e86e20a5a
1 changed files with 1 additions and 1 deletions

View File

@ -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