mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
docs: log new mutations in trace mode
This commit is contained in:
@@ -225,6 +225,9 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
||||
await authState.keys.setAppStateSyncVersion(name, newState)
|
||||
|
||||
logger.info(`synced ${name} to v${newState.version}`)
|
||||
if(newMutations.length) {
|
||||
logger.trace({ newMutations, name }, 'recv new mutations')
|
||||
}
|
||||
processSyncActions(newMutations)
|
||||
|
||||
totalMutations.push(...newMutations)
|
||||
|
||||
Reference in New Issue
Block a user