From 5caaa978f067e63f026e58f90083f81c03260adb Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Fri, 10 Dec 2021 10:26:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20#21=20=E6=92=A4?= =?UTF-8?q?=E5=9B=9E=E6=B6=88=E6=81=AF=E4=BE=9D=E6=97=A7=E5=8D=A0=E6=8D=AE?= =?UTF-8?q?=E7=9D=80=E8=AE=A1=E7=AE=97=E6=B6=88=E6=81=AF=E7=BB=84=E7=9A=84?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/ChatBox/ChatMessageList/Item.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/components/ChatBox/ChatMessageList/Item.tsx b/web/src/components/ChatBox/ChatMessageList/Item.tsx index f7066a62..277d8313 100644 --- a/web/src/components/ChatBox/ChatMessageList/Item.tsx +++ b/web/src/components/ChatBox/ChatMessageList/Item.tsx @@ -263,7 +263,8 @@ export function buildMessageItemRow( // 进行头像合并(在同一时间块下 且发送者为同一人) if (showDate === false) { - showAvatar = prevMessage.author !== message.author; + showAvatar = + prevMessage.author !== message.author || prevMessage.hasRecall === true; } }