mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
rpc protocol update
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user