From eba65746034dd5813cbfbc6761001836d9acc9b2 Mon Sep 17 00:00:00 2001 From: imndx Date: Wed, 30 Oct 2024 11:33:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B6=85=E7=BA=A7=E7=BE=A4?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=9C=AA=E5=AE=8C=E6=95=B4=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E7=9A=84=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/wildfire/chat/kit/conversation/ConversationFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uikit/src/main/java/cn/wildfire/chat/kit/conversation/ConversationFragment.java b/uikit/src/main/java/cn/wildfire/chat/kit/conversation/ConversationFragment.java index a4aeb647..3d016b55 100644 --- a/uikit/src/main/java/cn/wildfire/chat/kit/conversation/ConversationFragment.java +++ b/uikit/src/main/java/cn/wildfire/chat/kit/conversation/ConversationFragment.java @@ -178,7 +178,7 @@ public void onChanged(List uiMessages) { boolean hasUnloadMsg = false; if (conversation.type == Conversation.ConversationType.Group && isCommercialServer) { for (UiMessage uimsg : uiMessages) { - if (uimsg.message.content.notLoaded > 0) { + if (conversation.equals(uimsg.message.conversation) && uimsg.message.content.notLoaded > 0) { hasUnloadMsg = true; break; }