RoomList: change a bit the api of RoomSummaryDataSource

This commit is contained in:
ganfra 2023-06-22 12:34:07 +02:00
parent 4656af6ce8
commit ef8dc6ea7a
12 changed files with 78 additions and 92 deletions

View file

@ -49,8 +49,8 @@ class InviteListPresenter @Inject constructor(
@Composable
override fun present(): InviteListState {
val invites by client
.invitesDataSource
.roomSummaries()
.roomSummaryDataSource
.inviteList()
.collectAsState()
var seenInvites by remember { mutableStateOf<Set<RoomId>>(emptySet()) }