فهرست منبع

Fixed typo in WSS port

gasaichan 3 سال پیش
والد
کامیت
ab025cdf83
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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(
         const connection = new this._connection(
             this.session.serverAddress,
             this.session.serverAddress,
             // We don't want to use the session for this.
             // We don't want to use the session for this.
-            this.useWSS ? 433 : 80,
+            this.useWSS ? 443 : 80,
             this.session.dcId,
             this.session.dcId,
             this._log,
             this._log,
             this._proxy
             this._proxy