push message

pull/455/head
Gordon 3 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 8a1ddafec8
commit 61c102c794

@ -57,6 +57,9 @@ func MsgToUser(pushMsg *pbPush.PushMsgReq) {
if isOfflinePush && pushMsg.PushToUserID != pushMsg.MsgData.SendID { if isOfflinePush && pushMsg.PushToUserID != pushMsg.MsgData.SendID {
for _, v := range wsResult { for _, v := range wsResult {
if v.ResultCode == 0 { if v.ResultCode == 0 {
if utils.IsContainInt32(v.RecvPlatFormID, pushTerminal) {
break
}
continue continue
} }
if utils.IsContainInt32(v.RecvPlatFormID, pushTerminal) { if utils.IsContainInt32(v.RecvPlatFormID, pushTerminal) {

Loading…
Cancel
Save