feature(spaces) : introduce SpaceRoomList matrix api

This commit is contained in:
ganfra 2025-09-05 10:27:33 +02:00 committed by Benoit Marty
parent 47ca80a939
commit f56ccdc786
15 changed files with 277 additions and 115 deletions

View file

@ -38,9 +38,3 @@ interface SeenInvitesStore {
*/
suspend fun clear()
}
fun SeenInvitesStore.seenSpaceIds(): Flow<Set<SpaceId>> {
return seenRoomIds().map { roomIds ->
roomIds.map { it.toSpaceId() }.toSet()
}
}