mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 20:18:53 +03:00
Compare commits
2 commits
4c88f01c79
...
bb7b57c6d1
Author | SHA1 | Date | |
---|---|---|---|
|
bb7b57c6d1 | ||
|
fb610a3d07 |
1 changed files with 2 additions and 3 deletions
|
@ -115,17 +115,16 @@ LoginPage::onMatrixIdEntered()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!err->parse_error.empty()) {
|
if (!err->parse_error.empty()) {
|
||||||
emit versionErrorCb(tr("Autodiscovery failed. Received malformed response."));
|
|
||||||
nhlog::net()->error("Autodiscovery failed. Received malformed response. {}",
|
nhlog::net()->error("Autodiscovery failed. Received malformed response. {}",
|
||||||
err->parse_error);
|
err->parse_error);
|
||||||
|
checkHomeserverVersion();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
emit versionErrorCb(tr("Autodiscovery failed. Unknown error when "
|
|
||||||
"requesting .well-known."));
|
|
||||||
nhlog::net()->error("Autodiscovery failed. Unknown error when "
|
nhlog::net()->error("Autodiscovery failed. Unknown error when "
|
||||||
"requesting .well-known. {}",
|
"requesting .well-known. {}",
|
||||||
*err);
|
*err);
|
||||||
|
checkHomeserverVersion();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue