Reconfigure server url, when requested by login response
This commit is contained in:
parent
52871cf93c
commit
aa3d4c4f15
@ -315,6 +315,12 @@ LoginPage::onLoginButtonClicked()
|
||||
return;
|
||||
}
|
||||
|
||||
if (res.well_known) {
|
||||
http::client()->set_server(res.well_known->homeserver.base_url);
|
||||
nhlog::net()->info("Login requested to user server: " +
|
||||
res.well_known->homeserver.base_url);
|
||||
}
|
||||
|
||||
emit loginOk(res);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user