From 99c3c62f6cb3e480f5f51e4bf40f1b1568f1eb22 Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:37:14 +0100 Subject: [PATCH] Chat List: Fix archive not being loaded correctly (#5316) --- 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 1995dcd2c..84928e197 100644 --- a/src/api/gramjs/methods/chats.ts +++ b/src/api/gramjs/methods/chats.ts @@ -124,6 +124,7 @@ export async function fetchChats({ offsetId, limit, offsetDate, + folderId: archived ? ARCHIVED_FOLDER_ID : undefined, ...(withPinned && { excludePinned: true }), })); const resultPinned = withPinned