diff --git a/src/lib/mtproto/networker.ts b/src/lib/mtproto/networker.ts index 38678e92..e5193d64 100644 --- a/src/lib/mtproto/networker.ts +++ b/src/lib/mtproto/networker.ts @@ -166,6 +166,10 @@ export default class MTPNetworker { // //setInterval(this.sendPingDelayDisconnect, (this.disconnectDelay - 5) * 1000); // this.sendPingDelayDisconnect(); // } + + if((this.transport as TcpObfuscated).connected) { + this.setConnectionStatus(true); + } } public updateSession() {