diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt index f9a31e419..019265bf1 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ConversationInfoController.kt @@ -685,6 +685,9 @@ class ConversationInfoController(args: Bundle) : BaseController(args), FlexibleA private const val ID_DELETE_CONVERSATION_DIALOG = 0 } + /** + * Comparator for participants, sorts by online-status, moderator-status and display name. + */ class UserItemComparator : Comparator { override fun compare(left: UserItem, right: UserItem): Int { if (left.isOnline && !right.isOnline) {