rpc protocol update

pull/131/head
Gordon 3 years ago
parent 822f689c48
commit d2ce4192cc

@ -223,6 +223,9 @@ func modifyMessageByUserMessageReceiveOpt(userID, sourceID string, sessionType i
case constant.NotReceiveMessage:
return false
case constant.ReceiveNotNotifyMessage:
if msg.Options == nil {
msg.Options = make(map[string]int32, 2)
}
utils.SetSwitchFromOptions(msg.Options, "offlinePush", 0)
return true
}

Loading…
Cancel
Save