diff --git a/component/vmess/user.go b/component/vmess/user.go index a1a3f3c2..c098389e 100644 --- a/component/vmess/user.go +++ b/component/vmess/user.go @@ -50,5 +50,6 @@ func newAlterIDs(primary *ID, alterIDCount uint16) []*ID { alterIDs[idx] = &ID{UUID: newid, CmdKey: primary.CmdKey[:]} prevID = newid } + alterIDs = append(alterIDs, primary) return alterIDs }