mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
fix: adding second new VMess links now works (#1325)
This commit is contained in:
committed by
GitHub
parent
2bff37efae
commit
212e9b3a91
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user