List invites below members

Change-Id: I4910571e61006964f53b2f51f7c1451a3adb4bdc
This commit is contained in:
SpiritCroc 2021-11-24 10:17:23 +01:00
parent 205828852d
commit 0c7cc81830

View file

@ -188,8 +188,8 @@ class RoomMemberListViewModel @AssistedInject constructor(@Assisted initialState
users.toPoweredMemberList(RoomMemberListCategories.SG_USER, powerLevelsHelper) + users.toPoweredMemberList(RoomMemberListCategories.SG_USER, powerLevelsHelper) +
customs.toPoweredMemberList(RoomMemberListCategories.SG_CUSTOM, powerLevelsHelper) customs.toPoweredMemberList(RoomMemberListCategories.SG_CUSTOM, powerLevelsHelper)
return listOf( return listOf(
RoomMemberListCategories.INVITE to invitesWithPower.sortedWith(roomMemberSummaryWithPowerComparator), RoomMemberListCategories.MEMBER to membersWithPower.sortedWith(roomMemberSummaryWithPowerComparator),
RoomMemberListCategories.MEMBER to membersWithPower.sortedWith(roomMemberSummaryWithPowerComparator) RoomMemberListCategories.INVITE to invitesWithPower.sortedWith(roomMemberSummaryWithPowerComparator)
) )
} }