private fun handleMentionSuggestions() { val containsMention = MentionPattern.matcher(messageText).find()  mentionSuggestions.value = if (containsMention) { users.filter { it.name.contains(messageText.substringAfterLast("@"), true) } } else { emptyList() } }
Shows the mention suggestion list popup if necessary.