From d1df004de3e97c34ca2dbcc8a5493ff1205ebcd9 Mon Sep 17 00:00:00 2001 From: Kirill Kirilenko Date: Thu, 19 Feb 2026 22:19:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BC=D0=B8=D0=B3=D1=80=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=20=D1=81=D1=83=D0=BF=D0=B5=D1=80=D1=87=D0=B0?= =?UTF-8?q?=D1=82.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tg/handlers/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg/handlers/action.py b/tg/handlers/action.py index c6df1ce..05baeb2 100644 --- a/tg/handlers/action.py +++ b/tg/handlers/action.py @@ -42,4 +42,4 @@ async def user_join_handler(message: Message, bot: Bot): async def migration_handler(message: Message, bot: Bot): old_id, new_id = message.chat.id, message.migrate_to_chat_id database.DB.chat_delete(bot.id, new_id) - database.DB.chat_update(bot.id, old_id, id=new_id) + database.DB.chat_update(bot.id, old_id, chat_id=new_id)