Skip to content

Commit 740e486

Browse files
authored
Revert "Stop overriding the homeserver when restoring a Client (#5753)" (#5754)
This reverts commit 21ced9e.
1 parent 21ced9e commit 740e486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClientFactory.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class RustMatrixClientFactory(
7171
passphrase = sessionData.passphrase,
7272
slidingSyncType = ClientBuilderSlidingSync.Restored,
7373
)
74+
.homeserverUrl(sessionData.homeserverUrl)
7475
.username(sessionData.userId)
7576
.use { it.build() }
7677

0 commit comments

Comments
 (0)