From 30b46195eaca9458e310d14af69ba47c2835dea3 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 30 Jun 2023 19:02:08 +0300 Subject: [PATCH] don't show me comments from ppl i blocked --- files/classes/user.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/classes/user.py b/files/classes/user.py index 60cda57138..021f58b10a 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -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: