Chat List: Fix archive not being loaded correctly (#5316)

This commit is contained in:
zubiden 2024-12-20 11:37:14 +01:00 committed by Alexander Zinchuk
parent 8bcfcd0c88
commit 99c3c62f6c

View File

@ -124,6 +124,7 @@ export async function fetchChats({
offsetId,
limit,
offsetDate,
folderId: archived ? ARCHIVED_FOLDER_ID : undefined,
...(withPinned && { excludePinned: true }),
}));
const resultPinned = withPinned