Update V2rayConfigHandler.cs
This commit is contained in:
@@ -467,9 +467,14 @@ namespace v2rayN.Handler
|
|||||||
//远程服务器用户ID
|
//远程服务器用户ID
|
||||||
usersItem.id = config.id();
|
usersItem.id = config.id();
|
||||||
usersItem.alterId = 0;
|
usersItem.alterId = 0;
|
||||||
usersItem.flow = config.flow();
|
usersItem.flow = string.Empty;
|
||||||
usersItem.email = Global.userEMail;
|
usersItem.email = Global.userEMail;
|
||||||
usersItem.encryption = config.security();
|
usersItem.encryption = config.security();
|
||||||
|
//if xtls
|
||||||
|
if (config.streamSecurity() == Global.StreamSecurityX)
|
||||||
|
{
|
||||||
|
usersItem.flow = config.flow();
|
||||||
|
}
|
||||||
|
|
||||||
//Mux
|
//Mux
|
||||||
outbound.mux.enabled = config.muxEnabled;
|
outbound.mux.enabled = config.muxEnabled;
|
||||||
|
|||||||
Reference in New Issue
Block a user