We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d6d936 commit 0e5ac00Copy full SHA for 0e5ac00
flipchatApp/src/main/kotlin/xyz/flipchat/app/features/chat/info/ChatInfoViewModel.kt
@@ -488,7 +488,10 @@ class ChatInfoViewModel @Inject constructor(
488
}
489
.mapValues { (_, members) ->
490
members.sortedWith(
491
- compareByDescending<MinimalMember> { it.isHost }.thenByDescending { it.isSelf }
+ compareByDescending<MinimalMember> { it.isHost }
492
+ .thenByDescending { it.isSelf }
493
+ .thenByDescending { it.socialProfiles.any { it.isVerifiedOnPlatform } }
494
+ .thenByDescending { it.socialProfiles.isNotEmpty() }
495
)
496
497
0 commit comments