解决只有pushdata没有pushcontent的推送问题
This commit is contained in:
@@ -344,7 +344,7 @@ public class MessagesPublisher {
|
|||||||
}
|
}
|
||||||
boolean isVoip = messageContentType == 402 || messageContentType == 400 || messageContentType == 401 || messageContentType == 406;
|
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);
|
LOG.info("push content is empty and contenttype is {}", messageContentType);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user