Fixes room filter not including UPGRADE_ROOM_NOT_JOINED

This commit is contained in:
ericdecanini 2022-05-31 12:53:02 +02:00
parent af4f8d001e
commit 8d930446ca

View File

@ -213,5 +213,5 @@ class SpaceDirectoryController @Inject constructor(
}
private fun SpaceChildInfo.isUpgradedRoom(data: SpaceDirectoryState) =
data.knownRoomSummaries.any { it.roomId == childRoomId && it.versioningState == VersioningState.UPGRADED_ROOM_JOINED }
data.knownRoomSummaries.any { it.roomId == childRoomId && it.versioningState != VersioningState.NONE }
}