mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
push message
This commit is contained in:
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…
x
Reference in New Issue
Block a user