diff --git a/internal/rpc/msg/send_msg.go b/internal/rpc/msg/send_msg.go index 79f434e80..aeb479b37 100644 --- a/internal/rpc/msg/send_msg.go +++ b/internal/rpc/msg/send_msg.go @@ -262,8 +262,8 @@ func Notification(n *NotificationMsg) { if true { msg.Options = make(map[string]bool, 10) //utils.SetSwitchFromOptions(msg.Options, constant.IsOfflinePush, false) - utils.SetSwitchFromOptions(msg.Options, constant.IsHistory, false) - utils.SetSwitchFromOptions(msg.Options, constant.IsPersistent, false) + //utils.SetSwitchFromOptions(msg.Options, constant.IsHistory, false) + //utils.SetSwitchFromOptions(msg.Options, constant.IsPersistent, false) } offlineInfo.IOSBadgeCount = config.Config.IOSPush.BadgeCount offlineInfo.IOSPushSound = config.Config.IOSPush.PushSound