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:
parent
36ecb440ef
commit
21ced9e105
1 changed files with 0 additions and 1 deletions
|
|
@ -71,7 +71,6 @@ class RustMatrixClientFactory(
|
|||
passphrase = sessionData.passphrase,
|
||||
slidingSyncType = ClientBuilderSlidingSync.Restored,
|
||||
)
|
||||
.homeserverUrl(sessionData.homeserverUrl)
|
||||
.username(sessionData.userId)
|
||||
.use { it.build() }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue