Browse Source

Fix initial connection status

master
morethanwords 4 years ago
parent
commit
223367d398
  1. 4
      src/lib/mtproto/networker.ts

4
src/lib/mtproto/networker.ts

@ -166,6 +166,10 @@ export default class MTPNetworker {
// //setInterval(this.sendPingDelayDisconnect, (this.disconnectDelay - 5) * 1000); // //setInterval(this.sendPingDelayDisconnect, (this.disconnectDelay - 5) * 1000);
// this.sendPingDelayDisconnect(); // this.sendPingDelayDisconnect();
// } // }
if((this.transport as TcpObfuscated).connected) {
this.setConnectionStatus(true);
}
} }
public updateSession() { public updateSession() {

Loading…
Cancel
Save