RoomList: more rework on RoomSummaryDataSource
This commit is contained in:
parent
7ee3c1bf42
commit
fa48c29486
11 changed files with 152 additions and 98 deletions
|
|
@ -44,7 +44,7 @@ class DefaultInviteStateDataSource @Inject constructor(
|
|||
override fun inviteState(): InvitesState {
|
||||
val invites by client
|
||||
.roomSummaryDataSource
|
||||
.inviteList()
|
||||
.inviteRooms()
|
||||
.collectAsState()
|
||||
|
||||
val seenInvites by seenInvitesStore
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ class RoomListPresenter @Inject constructor(
|
|||
var filter by rememberSaveable { mutableStateOf("") }
|
||||
val roomSummaries by client
|
||||
.roomSummaryDataSource
|
||||
.roomList()
|
||||
.allRooms()
|
||||
.collectAsState()
|
||||
|
||||
val networkConnectionStatus by networkMonitor.connectivity.collectAsState()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue