diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-06-13 16:56:50 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-06-13 16:56:50 +0300 |
| commit | ad9134bc1add038cf65e1e94def94bddceca989e (patch) | |
| tree | 4d2a5b2a10b7a9b1acf16c6d558762fbf81fefa4 /xray | |
| parent | b5657ab87d902a6b82fdbe0bbd82c17e3aee4a4d (diff) | |
removed - alterId
https://github.com/XTLS/Xray-core/pull/2199
https://github.com/XTLS/Xray-core/commit/9112cfd39c2105d5b513275f9659b26e92fa7b67
Diffstat (limited to 'xray')
| -rw-r--r-- | xray/api.go | 3 |
1 files changed, 1 insertions, 2 deletions
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{ |
