修正推送数据中unread message count不准确的问题
This commit is contained in:
@@ -254,7 +254,7 @@ public class MessagesPublisher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!StringUtil.isNullOrEmpty(pushContent) || messageContentType == 400) {
|
if (!StringUtil.isNullOrEmpty(pushContent) || messageContentType == 400) {
|
||||||
if (!isSlient) {
|
if (!isSlient && (persistFlag & 0x02) > 0) {
|
||||||
targetSession.setUnReceivedMsgs(targetSession.getUnReceivedMsgs() + 1);
|
targetSession.setUnReceivedMsgs(targetSession.getUnReceivedMsgs() + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user