Fix test compilation

This commit is contained in:
Valere 2022-06-28 16:09:52 +02:00
parent e7322e8524
commit fb5f0cbd00

View file

@ -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<RoomHistoryVisibilityContent>()
Log.v("#E2E TEST ROTATION", "Room visibility changed from: ${initRoomHistoryVisibility.name} to: ${roomVisibility?.historyVisibility?.name}")