Stop overriding the homeserver when restoring a Client (#5753)
This isn't necessary and overrides the existing data previously saved by the SDK, resulting in losing data such as the `Client::server` (the discovery server URL). In turn, this caused the app to be unable to refresh the server info in some homeservers.
This commit is contained in:
committed by
GitHub
parent
36ecb440ef
commit
21ced9e105
-1
@@ -71,7 +71,6 @@ class RustMatrixClientFactory(
|
||||
passphrase = sessionData.passphrase,
|
||||
slidingSyncType = ClientBuilderSlidingSync.Restored,
|
||||
)
|
||||
.homeserverUrl(sessionData.homeserverUrl)
|
||||
.username(sessionData.userId)
|
||||
.use { it.build() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user