diff --git a/app/src/main/java/one/mixin/android/ui/conversation/holder/ActionsCardHolder.kt b/app/src/main/java/one/mixin/android/ui/conversation/holder/ActionsCardHolder.kt index 615508b25d..b9be1430e3 100644 --- a/app/src/main/java/one/mixin/android/ui/conversation/holder/ActionsCardHolder.kt +++ b/app/src/main/java/one/mixin/android/ui/conversation/holder/ActionsCardHolder.kt @@ -66,7 +66,7 @@ class ActionsCardHolder(val binding: ItemChatActionsCardBinding) : if (isFirst && !isMe) { binding.chatName.visibility = View.VISIBLE - binding.chatName.setName(messageItem) + binding.chatName.setMessageName(messageItem) binding.chatName.setTextColor(getColorById(messageItem.userId)) binding.chatName.setOnClickListener { onItemListener.onUserClick(messageItem.userId) } } else { diff --git a/app/src/main/java/one/mixin/android/ui/conversation/holder/FileHolder.kt b/app/src/main/java/one/mixin/android/ui/conversation/holder/FileHolder.kt index 6e8c21d8a2..b89870f63c 100644 --- a/app/src/main/java/one/mixin/android/ui/conversation/holder/FileHolder.kt +++ b/app/src/main/java/one/mixin/android/ui/conversation/holder/FileHolder.kt @@ -46,7 +46,7 @@ class FileHolder constructor(val binding: ItemChatFileBinding) : BaseViewHolder( chatLayout(isMe, isLast) if (isFirst && !isMe) { binding.chatName.visibility = View.VISIBLE - binding.chatName.setName(messageItem) + binding.chatName.setMessageName(messageItem) binding.chatName.setTextColor(getColorById(messageItem.userId)) binding.chatName.setOnClickListener { onItemListener.onUserClick(messageItem.userId) } } else { diff --git a/app/src/main/java/one/mixin/android/ui/conversation/holder/VideoQuoteHolder.kt b/app/src/main/java/one/mixin/android/ui/conversation/holder/VideoQuoteHolder.kt index 33a9328346..210ec7bd67 100644 --- a/app/src/main/java/one/mixin/android/ui/conversation/holder/VideoQuoteHolder.kt +++ b/app/src/main/java/one/mixin/android/ui/conversation/holder/VideoQuoteHolder.kt @@ -270,7 +270,7 @@ class VideoQuoteHolder constructor(val binding: ItemChatVideoQuoteBinding) : val isMe = meId == messageItem.userId if (isFirst && !isMe) { binding.chatName.visibility = View.VISIBLE - binding.chatName.setName(messageItem) + binding.chatName.setMessageName(messageItem) binding.chatName.setTextColor(getColorById(messageItem.userId)) binding.chatName.setOnClickListener { onItemListener.onUserClick(messageItem.userId) } } else {