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) { testHelper.retryPeriodicallyWithLatch(latch) {
val roomVisibility = aliceSession.getRoom(e2eRoomID)!! val roomVisibility = aliceSession.getRoom(e2eRoomID)!!
.stateService() .stateService()
.getStateEvent(EventType.STATE_ROOM_HISTORY_VISIBILITY) .getStateEvent(EventType.STATE_ROOM_HISTORY_VISIBILITY, QueryStringValue.IsEmpty)
?.content ?.content
?.toModel<RoomHistoryVisibilityContent>() ?.toModel<RoomHistoryVisibilityContent>()
Log.v("#E2E TEST ROTATION", "Room visibility changed from: ${initRoomHistoryVisibility.name} to: ${roomVisibility?.historyVisibility?.name}") Log.v("#E2E TEST ROTATION", "Room visibility changed from: ${initRoomHistoryVisibility.name} to: ${roomVisibility?.historyVisibility?.name}")