From a196a529f98fa4a9a0fa95038ae42e3d1fb4135e Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 28 Jun 2022 16:09:52 +0200 Subject: [PATCH] Fix test compilation --- .../android/sdk/internal/crypto/E2eeShareKeysHistoryTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/E2eeShareKeysHistoryTest.kt b/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/E2eeShareKeysHistoryTest.kt index 933de69c93f..32a95008b1a 100644 --- a/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/E2eeShareKeysHistoryTest.kt +++ b/matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/E2eeShareKeysHistoryTest.kt @@ -336,7 +336,7 @@ class E2eeShareKeysHistoryTest : InstrumentedTest { testHelper.retryPeriodicallyWithLatch(latch) { val roomVisibility = aliceSession.getRoom(e2eRoomID)!! .stateService() - .getStateEvent(EventType.STATE_ROOM_HISTORY_VISIBILITY) + .getStateEvent(EventType.STATE_ROOM_HISTORY_VISIBILITY, QueryStringValue.IsEmpty) ?.content ?.toModel() Log.v("#E2E TEST ROTATION", "Room visibility changed from: ${initRoomHistoryVisibility.name} to: ${roomVisibility?.historyVisibility?.name}")