From 1b0d050c66f0594333a74e24673c4cf62f8fa57e Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 19 Apr 2024 13:38:06 +0400 Subject: [PATCH] Chat Management: Fix history for new members toggle (#4467) --- src/api/gramjs/methods/chats.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/gramjs/methods/chats.ts b/src/api/gramjs/methods/chats.ts index 2104f066b..45badb1a3 100644 --- a/src/api/gramjs/methods/chats.ts +++ b/src/api/gramjs/methods/chats.ts @@ -538,6 +538,7 @@ async function getFullChatInfo(chatId: string): Promise buildApiPeerId(userId, 'user')), isTranslationDisabled: translationsDisabled, + isPreHistoryHidden: true, }, users, chats,