From 20f47b92a268bc91316fb1acd9b8db1566004651 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 17 Feb 2024 14:33:01 +0200 Subject: [PATCH] add more DELETE_ME_PLS --- files/classes/post.py | 1 + files/helpers/can_see.py | 1 + 2 files changed, 2 insertions(+) diff --git a/files/classes/post.py b/files/classes/post.py index 5c6006bea..5fc1b5a6d 100644 --- a/files/classes/post.py +++ b/files/classes/post.py @@ -272,6 +272,7 @@ class Post(Base): if self.distinguished and SITE_NAME == 'WPD': return 0 + #DELETE_ME_PLS if not v and kind == "ricardo": return 0 diff --git a/files/helpers/can_see.py b/files/helpers/can_see.py index 5977f7536..bbc888cf7 100644 --- a/files/helpers/can_see.py +++ b/files/helpers/can_see.py @@ -9,6 +9,7 @@ words_to_hide = ('israel', 'isreal', 'palestin', 'muslim', 'islam', 'hamas', 'je def can_see(user, other): if isinstance(other, (Post, Comment)): + #DELETE_ME_PLS if not user: if other.nsfw: return False