From bc967b7d4a53652a015823b59716d1d6e97bb752 Mon Sep 17 00:00:00 2001 From: Keyrxng <106303466+Keyrxng@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:04:24 +0100 Subject: [PATCH] chore: peer fetch --- 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 0dca3e4..854d633 100644 --- a/src/bot/mtproto-api/workrooms.ts +++ b/src/bot/mtproto-api/workrooms.ts @@ -187,7 +187,7 @@ export async function reopenChat(context: Context<"issues.reopened", SupportedEv pinMessages: false, untilDate: 0, }), - peer: fetchChat, + peer: await mtProto.client.getPeerId(fetchChat.fullChat.id, true), }) );