forked from rDrama/rDrama
1
0
Fork 0

count patron votes as real always

master
Aevann1 2022-11-12 14:11:28 +02:00
parent 0f9bde0d7b
commit 4df96767ba
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ class User(Base):
@property
@lazy
def is_votes_real(self):
if self.patron: return True
if self.is_suspended_permanently or self.shadowbanned: return False
if self.agendaposter: return False
if self.profile_url.startswith('/e/') and not self.customtitle and self.namecolor == DEFAULT_COLOR: return False