chore: use cache instead of permanent maps

This commit is contained in:
Adhiraj Singh
2023-02-21 11:35:32 +05:30
parent cc1fc9a53c
commit 5fb9f12b31
3 changed files with 30 additions and 20 deletions

View File

@@ -339,7 +339,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
name,
version: state.version.toString(),
// return snapshot if being synced from scratch
return_snapshot: (!state.version).toString()
'return_snapshot': (!state.version).toString()
}
})
}