push message

This commit is contained in:
Gordon 2022-05-18 18:58:51 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent 8a1ddafec8
commit 61c102c794

View File

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