We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59762a commit 0450259Copy full SHA for 0450259
apps/chat/serializers/chat.py
@@ -190,7 +190,8 @@ def is_valid_chat_id(self, chat_info: ChatInfo):
190
raise ChatException(500, _("Conversation does not exist"))
191
192
def is_valid_intraday_access_num(self):
193
- if [ChatUserType.ANONYMOUS_USER.value, ChatUserType.CHAT_USER.value].__contains__(
+ if not self.data.get('debug') and [ChatUserType.ANONYMOUS_USER.value,
194
+ ChatUserType.CHAT_USER.value].__contains__(
195
self.data.get('chat_user_type')):
196
access_client = QuerySet(ApplicationChatUserStats).filter(chat_user_id=self.data.get('chat_user_id'),
197
application_id=self.data.get(
0 commit comments