forked from rDrama/rDrama
count patron votes as real always
parent
0f9bde0d7b
commit
4df96767ba
|
@ -291,6 +291,7 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def is_votes_real(self):
|
def is_votes_real(self):
|
||||||
|
if self.patron: return True
|
||||||
if self.is_suspended_permanently or self.shadowbanned: return False
|
if self.is_suspended_permanently or self.shadowbanned: return False
|
||||||
if self.agendaposter: return False
|
if self.agendaposter: return False
|
||||||
if self.profile_url.startswith('/e/') and not self.customtitle and self.namecolor == DEFAULT_COLOR: return False
|
if self.profile_url.startswith('/e/') and not self.customtitle and self.namecolor == DEFAULT_COLOR: return False
|
||||||
|
|
Loading…
Reference in New Issue