Add back low-priority section for DMs
Change-Id: I63871b90a8541d2d8f9c87374176f95f6278882e
This commit is contained in:
parent
3bfae2a28b
commit
d568523b8b
|
@ -96,10 +96,16 @@ class RoomListViewModel @Inject constructor(
|
|||
it.roomTagQueryFilter = RoomTagQueryFilter(true, null, null)
|
||||
}
|
||||
|
||||
// TODO-SC why no low priority?
|
||||
addSection(sections, R.string.bottom_action_people_x) {
|
||||
it.memberships = listOf(Membership.JOIN)
|
||||
it.roomCategoryFilter = RoomCategoryFilter.ONLY_DM
|
||||
it.roomTagQueryFilter = RoomTagQueryFilter(false, false, null)
|
||||
}
|
||||
|
||||
addSection(sections, R.string.low_priority_header) {
|
||||
it.memberships = listOf(Membership.JOIN)
|
||||
it.roomCategoryFilter = RoomCategoryFilter.ONLY_DM
|
||||
it.roomTagQueryFilter = RoomTagQueryFilter(null, true, null)
|
||||
}
|
||||
} else if (initialState.displayMode == RoomListDisplayMode.ROOMS) {
|
||||
addSection(sections, R.string.invitations_header, true) {
|
||||
|
|
Loading…
Reference in New Issue