fix [跨设备已读消息依旧推送问题]
This commit is contained in:
parent
218b223320
commit
631be1bd89
@ -127,7 +127,7 @@ public class AppContext extends CommonAppContext {
|
||||
MessageSayHiNotifyManager.getInstance().stop();
|
||||
return;
|
||||
}
|
||||
if(activity instanceof VideoPlayActivity){
|
||||
if (activity instanceof VideoPlayActivity) {
|
||||
MessageSayHiNotifyManager.getInstance().stop();
|
||||
return;
|
||||
}
|
||||
@ -281,6 +281,9 @@ public class AppContext extends CommonAppContext {
|
||||
if (AppManager.getInstance().getLastActivity() instanceof CompleteUserInfoActivity) {
|
||||
return false;
|
||||
}
|
||||
if (message.getReceivedStatus().isRead()) {
|
||||
return false;
|
||||
}
|
||||
MessageChatNotifyManager.getInstance().push(AppManager.getInstance().getLastActivity()
|
||||
, message.getTargetId(),
|
||||
content.getContent()
|
||||
|
Loading…
Reference in New Issue
Block a user