Clean legacy vmess

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
MHSanaei
2023-08-26 16:58:55 +03:30
parent 1c1f53267a
commit 731e83a7da
7 changed files with 1 additions and 12 deletions

View File

@@ -1740,8 +1740,7 @@ Inbound.Settings = class extends XrayCommonClass {
Inbound.VmessSettings = class extends Inbound.Settings {
constructor(protocol,
vmesses=[new Inbound.VmessSettings.Vmess()],
disableInsecureEncryption=false) {
vmesses=[new Inbound.VmessSettings.Vmess()]) {
super(protocol);
this.vmesses = vmesses;
this.disableInsecure = disableInsecureEncryption;