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(
             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