Add VLESS encryption support (#7782)

This commit is contained in:
DHR60 2025-08-17 09:15:06 +08:00 committed by GitHub
parent 120e8d0686
commit 310d266745
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -963,7 +963,7 @@ public class ConfigHandler
{
return -1;
}
if (profileItem.Security.IsNotEmpty() && profileItem.Security != Global.None)
if (profileItem.Security.IsNullOrEmpty())
{
profileItem.Security = Global.None;
}