1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-22 18:59:55 -04:00

remove mux settings from vmess

This commit is contained in:
Darien Raymond
2017-02-03 00:14:43 +01:00
parent d3d2fab1d9
commit 504ff4b0c4
4 changed files with 19 additions and 86 deletions

View File

@@ -1,8 +1,8 @@
package vmess
import (
"v2ray.com/core/common/dice"
"v2ray.com/core/app/log"
"v2ray.com/core/common/dice"
"v2ray.com/core/common/protocol"
"v2ray.com/core/common/uuid"
)
@@ -42,12 +42,3 @@ func (v *Account) AsAccount() (protocol.Account, error) {
Security: v.SecuritySettings.AsSecurity(),
}, nil
}
func (v *Account) GetMultiplexingSettings() *Multiplexing {
if v.Mux == nil {
return &Multiplexing{
Enabled: false,
}
}
return v.Mux
}