mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
@@ -652,14 +652,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