removed - alterId

https://github.com/XTLS/Xray-core/pull/2199
9112cfd39c
This commit is contained in:
MHSanaei
2023-06-13 17:26:50 +03:30
parent b5657ab87d
commit ad9134bc1a
8 changed files with 3 additions and 19 deletions

View File

@@ -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{