From 091bf3c610b03586c0964da59d8da41017a0ecba Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Thu, 29 Aug 2024 15:52:56 +0200 Subject: [PATCH] Messages: Fix mark as read (#4918) --- src/api/gramjs/methods/chats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/gramjs/methods/chats.ts b/src/api/gramjs/methods/chats.ts index eedc0f187..eae6b4c48 100644 --- a/src/api/gramjs/methods/chats.ts +++ b/src/api/gramjs/methods/chats.ts @@ -679,8 +679,8 @@ async function getFullChannelInfo( if (linkedChat) { onUpdate({ '@type': 'updateChat', - id: chat.id, - chat, + id: linkedChat.id, + chat: linkedChat, }); } }