mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
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,
|
passphrase = sessionData.passphrase,
|
||||||
slidingSyncType = ClientBuilderSlidingSync.Restored,
|
slidingSyncType = ClientBuilderSlidingSync.Restored,
|
||||||
)
|
)
|
||||||
.homeserverUrl(sessionData.homeserverUrl)
|
|
||||||
.username(sessionData.userId)
|
.username(sessionData.userId)
|
||||||
.use { it.build() }
|
.use { it.build() }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user