fix: 历史记录: 转发的消息. 不以引用显示

dev/chat
Lei OT 1 year ago
parent 8a977114d6
commit 5cd36def65

@ -494,7 +494,8 @@ export const parseRenderMessageList = (messages, conversationid = null) => {
statusTitle: msgStatusRenderMappedCN[msgContent?.status || 'failed'],
}
: {}),
...((isEmpty(msg.messageorigin_AsJOSN) && isEmpty(msgContent.context))
...((isEmpty(msg.messageorigin_AsJOSN) && (isEmpty(msgContent.context) || msgContent.context?.forwarded === true))
// ...((isEmpty(msg.context) && isEmpty(msg.reaction)) || msg.context?.forwarded === true || isEmpty(msg.messageorigin)
// ...((isEmpty(msg.messageorigin_AsJOSN) || isEmpty(msgContent.context))
? {}
: {

Loading…
Cancel
Save