mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: disable init queries
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user