feature(spaces) : introduce SpaceRoomList matrix api
This commit is contained in:
parent
7e0931c299
commit
aadd8b45e2
15 changed files with 277 additions and 115 deletions
|
|
@ -38,9 +38,3 @@ interface SeenInvitesStore {
|
|||
*/
|
||||
suspend fun clear()
|
||||
}
|
||||
|
||||
fun SeenInvitesStore.seenSpaceIds(): Flow<Set<SpaceId>> {
|
||||
return seenRoomIds().map { roomIds ->
|
||||
roomIds.map { it.toSpaceId() }.toSet()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue