From 0c7cc81830cbc7d4fcd6b0fc73790bb32017790d Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 24 Nov 2021 10:17:23 +0100 Subject: [PATCH] List invites below members Change-Id: I4910571e61006964f53b2f51f7c1451a3adb4bdc --- .../features/roomprofile/members/RoomMemberListViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/roomprofile/members/RoomMemberListViewModel.kt b/vector/src/main/java/im/vector/app/features/roomprofile/members/RoomMemberListViewModel.kt index 00904632e5..0b29b0579f 100644 --- a/vector/src/main/java/im/vector/app/features/roomprofile/members/RoomMemberListViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/roomprofile/members/RoomMemberListViewModel.kt @@ -188,8 +188,8 @@ class RoomMemberListViewModel @AssistedInject constructor(@Assisted initialState users.toPoweredMemberList(RoomMemberListCategories.SG_USER, powerLevelsHelper) + customs.toPoweredMemberList(RoomMemberListCategories.SG_CUSTOM, powerLevelsHelper) 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) ) }