From 6708775cb5f6db3530f6bbac82304e2c84e96972 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Wed, 13 Apr 2022 12:50:56 +0530 Subject: [PATCH] chore: disable init queries --- src/Socket/chats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Socket/chats.ts b/src/Socket/chats.ts index 381577b..31776cf 100644 --- a/src/Socket/chats.ts +++ b/src/Socket/chats.ts @@ -654,14 +654,14 @@ export const makeChatsSocket = (config: SocketConfig) => { } }) - ev.on('connection.update', ({ connection }) => { + /*ev.on('connection.update', ({ connection }) => { if(connection === 'open') { fireInitQueries() .catch( error => onUnexpectedError(error, 'connection open requests') ) } - }) + })*/ return { ...sock,