mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
username has been renamed to serverNameFromUserId, but it is not necessary if we call homeserverUrl, so just remove it.
This commit is contained in:
committed by
Benoit Marty
parent
898baca9d5
commit
16bc825c17
-1
@@ -99,7 +99,6 @@ class RustMatrixClientFactory(
|
||||
isMessageSearchAvailable = isMessageSearchAvailable,
|
||||
)
|
||||
.homeserverUrl(sessionData.homeserverUrl)
|
||||
.username(sessionData.userId)
|
||||
.let { (clientBuilderEnterpriseHook(RustMatrixClientBuilder(it), SessionId(sessionData.userId)) as RustMatrixClientBuilder).inner }
|
||||
.use { it.build() }
|
||||
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ class FakeFfiClientBuilder(
|
||||
override fun setSessionDelegate(sessionDelegate: ClientSessionDelegate) = this
|
||||
override fun slidingSyncVersionBuilder(versionBuilder: SlidingSyncVersionBuilder) = this
|
||||
override fun userAgent(userAgent: String) = this
|
||||
override fun username(username: String) = this
|
||||
override fun serverNameFromUserId(userId: String): ClientBuilder = this
|
||||
override fun enableShareHistoryOnInvite(enableShareHistoryOnInvite: Boolean): ClientBuilder = this
|
||||
override fun threadsEnabled(enabled: Boolean, threadSubscriptions: Boolean): ClientBuilder = this
|
||||
override fun sqliteStore(config: SqliteStoreBuilder): ClientBuilder = this
|
||||
|
||||
Reference in New Issue
Block a user