Revert "Stop overriding the homeserver when restoring a Client (#5753)" (#5754)

This reverts commit 21ced9e105.
This commit is contained in:
Jorge Martin Espinosa 2025-11-18 15:16:34 +01:00 committed by GitHub
parent 21ced9e105
commit 740e486cd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,6 +71,7 @@ class RustMatrixClientFactory(
passphrase = sessionData.passphrase,
slidingSyncType = ClientBuilderSlidingSync.Restored,
)
.homeserverUrl(sessionData.homeserverUrl)
.username(sessionData.userId)
.use { it.build() }