From 4acf393d2b6da84b877f89b3949a803e48736578 Mon Sep 17 00:00:00 2001 From: urec56 Date: Tue, 20 Aug 2024 14:44:59 +0400 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B3=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/chat_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/chat_service.py b/app/services/chat_service.py index 11f8e6d..2010c9f 100644 --- a/app/services/chat_service.py +++ b/app/services/chat_service.py @@ -51,7 +51,7 @@ class ChatService: avatar_image=user_chat_for.avatar_image ) await uow.chat.add_user_to_chat(user_id, chat_id) - await uow.chat.add_user_to_chat(settings.ADMIN_USER_ID, chat_id) + # await uow.chat.add_user_to_chat(settings.ADMIN_USER_ID, chat_id) async with RedisService(is_raise=True) as redis: await redis.delete_key(key=f"user_allowed_chats: {user_id}") await uow.commit()