From aae2b7a55972f6018c55b8be327e6c922157539b Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Wed, 24 Nov 2021 18:47:08 +0530 Subject: [PATCH] fix: resync all collections on mainappresync --- src/Socket/chats.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Socket/chats.ts b/src/Socket/chats.ts index 6ce3496..5e983d6 100644 --- a/src/Socket/chats.ts +++ b/src/Socket/chats.ts @@ -308,7 +308,13 @@ export const makeChatsSocket = (config: SocketConfig) => { await ( mutationMutex.mutex( - () => resyncAppState([ 'critical_block', 'critical_unblock_low' ]) + () => resyncAppState([ + 'critical_block', + 'critical_unblock_low', + 'regular_high', + 'regular_low', + 'regular' + ]) ) .catch(err => ( logger.warn({ trace: err.stack }, 'failed to sync app state')