From 017bd33f0136ce0f40a9f44e5c7b49b4572c5727 Mon Sep 17 00:00:00 2001 From: Keyrxng <106303466+Keyrxng@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:43:51 +0100 Subject: [PATCH] chore: test --- src/bot/mtproto-api/workrooms.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot/mtproto-api/workrooms.ts b/src/bot/mtproto-api/workrooms.ts index 87ab605..c417393 100644 --- a/src/bot/mtproto-api/workrooms.ts +++ b/src/bot/mtproto-api/workrooms.ts @@ -209,7 +209,7 @@ export async function reopenChat(context: Context<"issues.reopened", SupportedEv await mtProto.client.invoke( new mtProto.api.messages.EditChatAdmin({ - chatId, + chatId: chat.chatId, isAdmin: true, userId: chatCreator, })