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; }