Commit ce3e61ab by Future

会话列表逻辑

parent eb42757f
...@@ -873,7 +873,9 @@ public class ImConversationServiceImpl extends BaseServiceImpl<ImConversationMap ...@@ -873,7 +873,9 @@ public class ImConversationServiceImpl extends BaseServiceImpl<ImConversationMap
if (notReadCount != null) { if (notReadCount != null) {
conversationVo.setMsgNotReadCount(notReadCount); conversationVo.setMsgNotReadCount(notReadCount);
} else { } else {
conversationVo.setMsgNotReadCount(0); // 无未读消息,直接不返回
continue;
// conversationVo.setMsgNotReadCount(0);
} }
Integer beAtCount = beAtCountMap.get(conversationVo.getId()); Integer beAtCount = beAtCountMap.get(conversationVo.getId());
if (beAtCount != null && beAtCount > 0) { if (beAtCount != null && beAtCount > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment