From 4fbf34e11926da148f41b94b9f25308f07078dd1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 24 Jul 2024 18:06:06 +0300 Subject: [PATCH] allow ppl to see first page of carp and frozen --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index 8003abaeb..58843037e 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -1006,7 +1006,7 @@ class User(Base): if not self.is_private: return True if not user: return False if self.id == user.id: return True - if SITE_NAME == 'rDrama' and self.id in {CARP_ID, 1376}: return False + if SITE_NAME == 'rDrama' and self.id in {CARP_ID, 1376} and request.values.get('page', 0) > 1: return False return user.admin_level >= PERMS['VIEW_PRIVATE_PROFILES'] or user.eye @property