Skip to content

Commit

Permalink
Update V2rayConfigHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Oct 6, 2020
1 parent f892f0c commit 6c0a364
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion v2rayN/v2rayN/Handler/V2rayConfigHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,14 @@ private static int outbound(Config config, ref V2rayConfig v2rayConfig)
//远程服务器用户ID
usersItem.id = config.id();
usersItem.alterId = 0;
usersItem.flow = config.flow();
usersItem.flow = string.Empty;
usersItem.email = Global.userEMail;
usersItem.encryption = config.security();
//if xtls
if (config.streamSecurity() == Global.StreamSecurityX)
{
usersItem.flow = config.flow();
}

//Mux
outbound.mux.enabled = config.muxEnabled;
Expand Down

0 comments on commit 6c0a364

Please sign in to comment.