forked from MarseyWorld/MarseyWorld
small change to can_see logic
parent
734844291c
commit
3140adfbdb
|
@ -90,9 +90,9 @@ class Comment(Base):
|
|||
if not self.parent_submission: return True
|
||||
if self.post.sub != 'chudrama': return True
|
||||
if v:
|
||||
if v.truecoins >= 5000: return True
|
||||
if v.id == self.author_id: return True
|
||||
if v.id == self.post.author_id: return True
|
||||
if v and v.truecoins >= 5000: return True
|
||||
return False
|
||||
|
||||
|
||||
|
|
|
@ -82,8 +82,8 @@ class Submission(Base):
|
|||
if SITE != 'rdrama.net': return True
|
||||
if self.sub != 'chudrama': return True
|
||||
if v:
|
||||
if v.truecoins >= 5000: return True
|
||||
if v.id == self.author_id: return True
|
||||
if v and v.truecoins >= 5000: return True
|
||||
return False
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue