Dialogs: Do not persist offset state (#4979)

This commit is contained in:
zubiden 2024-09-19 20:43:23 +02:00 committed by Alexander Zinchuk
parent 25b4aae4cd
commit dfb54bfcc9

View File

@ -439,6 +439,7 @@ function reduceChats<T extends GlobalState>(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: {