chore: remove redundant newMutations log

This commit is contained in:
Adhiraj Singh
2022-11-06 19:51:45 +05:30
parent 115073e9e2
commit 2a8ce563a2
2 changed files with 5 additions and 9 deletions

View File

@@ -370,7 +370,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
// only process if there are syncd patches
if(patches.length) {
const { newMutations, state: newState } = await decodePatches(
const { state: newState } = await decodePatches(
name,
patches,
states[name],
@@ -383,9 +383,6 @@ export const makeChatsSocket = (config: SocketConfig) => {
await authState.keys.set({ 'app-state-sync-version': { [name]: newState } })
logger.info(`synced ${name} to v${newState.version}`)
if(newMutations.length) {
logger.trace({ newMutations, name }, 'recv new mutations')
}
}
if(hasMorePatches) {