Skip to content

Commit

Permalink
fix: adding second new VMess links now works (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
al42and authored Dec 30, 2024
1 parent 2bff37e commit 212e9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/core/serialization/vmess_new.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ QJsonObject Deserialize(const QString &vmessStr, QString *alias, QString *errMes
server.users.first().security = "auto";
}

const static auto getQueryValue = [&query](const QString &key, const QString &defaultValue) {
const auto getQueryValue = [&query](const QString &key, const QString &defaultValue) {
if (query.hasQueryItem(key))
return query.queryItemValue(key, QUrl::FullyDecoded);
else
Expand Down

0 comments on commit 212e9b3

Please sign in to comment.