消息撤回显示
This commit is contained in:
parent
9d235c72f8
commit
2ae59301fd
@ -229,7 +229,7 @@ export struct ConversationViewItem {
|
|||||||
case V2NIMMessageType.V2NIM_MESSAGE_TYPE_NOTIFICATION:
|
case V2NIMMessageType.V2NIM_MESSAGE_TYPE_NOTIFICATION:
|
||||||
return $r('app.string.notificationMessageType')
|
return $r('app.string.notificationMessageType')
|
||||||
case V2NIMMessageType.V2NIM_MESSAGE_TYPE_TIPS:
|
case V2NIMMessageType.V2NIM_MESSAGE_TYPE_TIPS:
|
||||||
if (String(item.lastMessage?.text).includes('撤回')) {
|
if (String(item.lastMessage?.text).includes('撤回一条消息')) {
|
||||||
return String(item.lastMessage?.text)
|
return String(item.lastMessage?.text)
|
||||||
} else {
|
} else {
|
||||||
return $r('app.string.tipMessageType')
|
return $r('app.string.tipMessageType')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user