多人音视频添加成员时推送消息
This commit is contained in:
@@ -43,7 +43,7 @@ public class PushMessage {
|
|||||||
this.cntType = messageContentType;
|
this.cntType = messageContentType;
|
||||||
this.serverTime = serverTime;
|
this.serverTime = serverTime;
|
||||||
this.unReceivedMsg = unReceivedMsg;
|
this.unReceivedMsg = unReceivedMsg;
|
||||||
if (cntType == 400) {
|
if (cntType == 400 || cntType == 406) {
|
||||||
this.pushMessageType = PushServer.PushMessageType.PUSH_MESSAGE_TYPE_VOIP_INVITE;
|
this.pushMessageType = PushServer.PushMessageType.PUSH_MESSAGE_TYPE_VOIP_INVITE;
|
||||||
} else if(cntType == 402) {
|
} else if(cntType == 402) {
|
||||||
this.pushMessageType = PushServer.PushMessageType.PUSH_MESSAGE_TYPE_VOIP_BYE;
|
this.pushMessageType = PushServer.PushMessageType.PUSH_MESSAGE_TYPE_VOIP_BYE;
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ public class MessagesPublisher {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((StringUtil.isNullOrEmpty(pushContent) && messageContentType != 402 && messageContentType != 400 && messageContentType != 401)) {
|
if ((StringUtil.isNullOrEmpty(pushContent) && messageContentType != 402 && messageContentType != 400 && messageContentType != 401 && messageContentType != 406)) {
|
||||||
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