mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: resync all collections on mainappresync
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user