mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-18 19:20:45 +02:00
No need to sort. It will be resorted later.
This commit is contained in:
@@ -20,11 +20,9 @@ import com.vitorpamplona.amethyst.model.*
|
||||
|
||||
@Composable
|
||||
fun ReplyInformation(replyTo: List<Note>?, mentions: List<String>, account: Account, navController: NavController) {
|
||||
val sortedMentions = mentions.mapNotNull { LocalCache.checkGetOrCreateUser(it) }
|
||||
.toSet()
|
||||
.sortedBy { account.userProfile().isFollowingCached(it) }
|
||||
val dupMentions = mentions.mapNotNull { LocalCache.checkGetOrCreateUser(it) }
|
||||
|
||||
ReplyInformation(replyTo, sortedMentions, account) {
|
||||
ReplyInformation(replyTo, dupMentions, account) {
|
||||
navController.navigate("User/${it.pubkeyHex}")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user