Use identity server from well-known when creating the client

This commit is contained in:
ismailgulek
2022-06-03 18:08:19 +03:00
parent 7fc9e993be
commit ccd3befbbf
3 changed files with 52 additions and 4 deletions
@@ -22,7 +22,6 @@ class SessionCreator {
func createSession(credentials: MXCredentials, client: AuthenticationRestClient) -> MXSession {
// Report the new account in account manager
if credentials.identityServer == nil {
#warning("Check that the client is actually updated with this info?")
credentials.identityServer = client.identityServer
}