mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 11:47:35 +00:00
feature(spaces) : introduce SpaceRoomList matrix api
This commit is contained in:
-6
@@ -38,9 +38,3 @@ interface SeenInvitesStore {
|
||||
*/
|
||||
suspend fun clear()
|
||||
}
|
||||
|
||||
fun SeenInvitesStore.seenSpaceIds(): Flow<Set<SpaceId>> {
|
||||
return seenRoomIds().map { roomIds ->
|
||||
roomIds.map { it.toSpaceId() }.toSet()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user