mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
fix a bad equality check on QJsonObject
This commit is contained in:
parent
05728681a5
commit
3800389eb4
1 changed files with 1 additions and 1 deletions
|
@ -994,7 +994,7 @@ void DomainServer::sendPendingTransactionsToServer() {
|
|||
void DomainServer::publicKeyJSONCallback(QNetworkReply& requestReply) {
|
||||
QJsonObject jsonObject = QJsonDocument::fromJson(requestReply.readAll()).object();
|
||||
|
||||
if (jsonObject["status"] == "success") {
|
||||
if (jsonObject["status"].toString() == "success") {
|
||||
// figure out which user this is for
|
||||
|
||||
const QString PUBLIC_KEY_URL_REGEX_STRING = "api\\/v1\\/users\\/([A-Za-z0-9_\\.]+)\\/public_key";
|
||||
|
|
Loading…
Reference in a new issue