mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
@@ -353,7 +353,6 @@ export const makeSocket = ({
|
|||||||
if(diff > keepAliveIntervalMs + 5000) {
|
if(diff > keepAliveIntervalMs + 5000) {
|
||||||
end(new Boom('Connection was lost', { statusCode: DisconnectReason.connectionLost }))
|
end(new Boom('Connection was lost', { statusCode: DisconnectReason.connectionLost }))
|
||||||
} else if(ws.readyState === ws.OPEN) {
|
} else if(ws.readyState === ws.OPEN) {
|
||||||
ws.ping()
|
|
||||||
// if its all good, send a keep alive request
|
// if its all good, send a keep alive request
|
||||||
sendNode(
|
sendNode(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user