fix(push): push content with jpush (#2844)

* fix(push): push content with jpush

* docs: fix push enable example value

* fix(push): jpush error response
This commit is contained in:
yoyoIU
2024-11-18 16:25:46 +08:00
committed by OpenIM-Robot
parent 9e4cad1815
commit 5089568004
5 changed files with 50 additions and 28 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func (o *OfflinePushConsumerHandler) getOfflinePushInfos(msg *sdkws.MsgData) (ti
IsAtSelf bool `json:"isAtSelf"`
}
opts = &options.Opts{Signal: &options.Signal{}}
opts = &options.Opts{Signal: &options.Signal{ClientMsgID: msg.ClientMsgID}}
if msg.OfflinePushInfo != nil {
opts.IOSBadgeCount = msg.OfflinePushInfo.IOSBadgeCount
opts.IOSPushSound = msg.OfflinePushInfo.IOSPushSound