Skip to content

Commit

Permalink
优化超级群消息未完整加载的处理逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
imndx committed Oct 30, 2024
1 parent 62ec7b9 commit eba6574
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void onChanged(List<UiMessage> 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;
}
Expand Down

0 comments on commit eba6574

Please sign in to comment.