mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Merge fb610a3d07
into 1a00d91316
This commit is contained in:
commit
bb7b57c6d1
1 changed files with 2 additions and 3 deletions
|
@ -115,17 +115,16 @@ LoginPage::onMatrixIdEntered()
|
|||
}
|
||||
|
||||
if (!err->parse_error.empty()) {
|
||||
emit versionErrorCb(tr("Autodiscovery failed. Received malformed response."));
|
||||
nhlog::net()->error("Autodiscovery failed. Received malformed response. {}",
|
||||
err->parse_error);
|
||||
checkHomeserverVersion();
|
||||
return;
|
||||
}
|
||||
|
||||
emit versionErrorCb(tr("Autodiscovery failed. Unknown error when "
|
||||
"requesting .well-known."));
|
||||
nhlog::net()->error("Autodiscovery failed. Unknown error when "
|
||||
"requesting .well-known. {}",
|
||||
*err);
|
||||
checkHomeserverVersion();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue