don't show me comments from ppl i blocked

pull/160/head
Aevann 2023-06-30 19:02:08 +03:00
parent d9cac3a843
commit 30b46195ea
1 changed files with 2 additions and 0 deletions

View File

@ -1093,6 +1093,8 @@ class User(Base):
if SITE == 'watchpeopledie.tv' and other.id == 5:
return False
else:
if hasattr(other, 'is_blocking') and other.is_blocking:
return False
if other.parent_post:
return cls.can_see(user, other.post)
else: