解决只有pushdata没有pushcontent的推送问题

This commit is contained in:
heavyrain2012
2021-09-20 08:42:47 +08:00
parent edbed585ce
commit db25a6ae04
@@ -344,7 +344,7 @@ public class MessagesPublisher {
}
boolean isVoip = messageContentType == 402 || messageContentType == 400 || messageContentType == 401 || messageContentType == 406;
if (StringUtil.isNullOrEmpty(pushContent) && !isVoip) {
if (StringUtil.isNullOrEmpty(pushContent) && StringUtil.isNullOrEmpty(pushData) && !isVoip) {
LOG.info("push content is empty and contenttype is {}", messageContentType);
continue;
}