Explorar el Código

Fixed typo in WSS port

gasaichan hace 3 años
padre
commit
ab025cdf83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gramjs/client/TelegramClient.ts

+ 1 - 1
gramjs/client/TelegramClient.ts

@@ -1196,7 +1196,7 @@ export class TelegramClient extends TelegramBaseClient {
         const connection = new this._connection(
             this.session.serverAddress,
             // We don't want to use the session for this.
-            this.useWSS ? 433 : 80,
+            this.useWSS ? 443 : 80,
             this.session.dcId,
             this._log,
             this._proxy