From fb5f0cbd004d56791896a5bde00ae09fc6e0b62d 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 933de69c93..32a95008b1 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}")