Skip to content

Commit 23c0dc1

Browse files
committed
... and fix the test.
1 parent 9e32463 commit 23c0dc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/matrix/impl/src/test/kotlin/io/element/android/libraries/matrix/impl/fixtures/fakes/FakeRustClientBuilder.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import org.matrix.rustcomponents.sdk.RequestConfig
1818
import org.matrix.rustcomponents.sdk.SlidingSyncVersionBuilder
1919
import uniffi.matrix_sdk.BackupDownloadStrategy
2020
import uniffi.matrix_sdk_crypto.CollectStrategy
21+
import uniffi.matrix_sdk_crypto.TrustRequirement
2122

2223
class FakeRustClientBuilder : ClientBuilder(NoPointer) {
2324
override fun addRootCertificates(certificates: List<ByteArray>) = this
@@ -26,6 +27,7 @@ class FakeRustClientBuilder : ClientBuilder(NoPointer) {
2627
override fun backupDownloadStrategy(backupDownloadStrategy: BackupDownloadStrategy) = this
2728
override fun disableAutomaticTokenRefresh() = this
2829
override fun disableBuiltInRootCertificates() = this
30+
override fun roomDecryptionTrustRequirement(trustRequirement: TrustRequirement) = this
2931
override fun disableSslVerification() = this
3032
override fun enableCrossProcessRefreshLock(processId: String, sessionDelegate: ClientSessionDelegate) = this
3133
override fun homeserverUrl(url: String) = this

0 commit comments

Comments
 (0)