fix: adding second new VMess links now works (#1325)
This commit is contained in:
parent
2bff37efae
commit
212e9b3a91
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ QJsonObject Deserialize(const QString &vmessStr, QString *alias, QString *errMes
|
||||||
server.users.first().security = "auto";
|
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))
|
if (query.hasQueryItem(key))
|
||||||
return query.queryItemValue(key, QUrl::FullyDecoded);
|
return query.queryItemValue(key, QUrl::FullyDecoded);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue