From dfb54bfcc9812d324199c07350541f5fde7cada1 Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Thu, 19 Sep 2024 20:43:23 +0200 Subject: [PATCH] Dialogs: Do not persist offset state (#4979) --- src/global/cache.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global/cache.ts b/src/global/cache.ts index 4c652af78..dfc26b25a 100644 --- a/src/global/cache.ts +++ b/src/global/cache.ts @@ -439,6 +439,7 @@ function reduceChats(global: T): GlobalState['chats'] { ...global.chats, similarChannelsById: {}, isFullyLoaded: {}, + loadingParameters: INITIAL_GLOBAL_STATE.chats.loadingParameters, byId: pickTruthy(global.chats.byId, idsToSave), fullInfoById: pickTruthy(global.chats.fullInfoById, idsToSave), lastMessageIds: {