From ad9134bc1add038cf65e1e94def94bddceca989e Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 13 Jun 2023 17:26:50 +0330 Subject: removed - alterId https://github.com/XTLS/Xray-core/pull/2199 https://github.com/XTLS/Xray-core/commit/9112cfd39c2105d5b513275f9659b26e92fa7b67 --- xray/api.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xray') diff --git a/xray/api.go b/xray/api.go index a84435f9..c2e2b4ca 100644 --- a/xray/api.go +++ b/xray/api.go @@ -57,8 +57,7 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]in switch Protocol { case "vmess": account = serial.ToTypedMessage(&vmess.Account{ - Id: user["id"].(string), - AlterId: uint32(user["alterId"].(uint16)), + Id: user["id"].(string), }) case "vless": account = serial.ToTypedMessage(&vless.Account{ -- cgit v1.2.3