chore: disable init queries

This commit is contained in:
Adhiraj Singh
2022-04-13 12:50:56 +05:30
parent 7db8796fed
commit 6708775cb5

View File

@@ -654,14 +654,14 @@ export const makeChatsSocket = (config: SocketConfig) => {
} }
}) })
ev.on('connection.update', ({ connection }) => { /*ev.on('connection.update', ({ connection }) => {
if(connection === 'open') { if(connection === 'open') {
fireInitQueries() fireInitQueries()
.catch( .catch(
error => onUnexpectedError(error, 'connection open requests') error => onUnexpectedError(error, 'connection open requests')
) )
} }
}) })*/
return { return {
...sock, ...sock,