mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-23 16:21:26 +01:00
Fixes room filter not including UPGRADE_ROOM_NOT_JOINED
This commit is contained in:
parent
af4f8d001e
commit
8d930446ca
@ -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 }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user