Update GroupUpdater.cpp

This commit is contained in:
parhelia512 2025-09-25 12:55:24 +08:00 committed by GitHub
parent c35724abaa
commit 5d694babdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,7 +286,7 @@ namespace Subscription {
// VLESS // VLESS
if (out["type"] == "vless") { if (out["type"] == "vless") {
ent = Configs::ProfileManager::NewProxyEntity("vless"); ent = Configs::ProfileManager::NewProxyEntity("vless");
auto ok = ent->VLESSBean()->TryParseJson(out); auto ok = ent->TrojanVLESSBean()->TryParseJson(out);
if (!ok) continue; if (!ok) continue;
} }
@ -526,6 +526,7 @@ namespace Subscription {
bean->stream->host = Node2QString(header.second); bean->stream->host = Node2QString(header.second);
else if (header.second.is_sequence() && header.second[0].is_string()) else if (header.second.is_sequence() && header.second[0].is_string())
bean->stream->host = Node2QString(header.second[0]); bean->stream->host = Node2QString(header.second[0]);
break;
} }
} }
} }