mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
rpc protocol update
This commit is contained in:
parent
822f689c48
commit
d2ce4192cc
@ -223,6 +223,9 @@ func modifyMessageByUserMessageReceiveOpt(userID, sourceID string, sessionType i
|
|||||||
case constant.NotReceiveMessage:
|
case constant.NotReceiveMessage:
|
||||||
return false
|
return false
|
||||||
case constant.ReceiveNotNotifyMessage:
|
case constant.ReceiveNotNotifyMessage:
|
||||||
|
if msg.Options == nil {
|
||||||
|
msg.Options = make(map[string]int32, 2)
|
||||||
|
}
|
||||||
utils.SetSwitchFromOptions(msg.Options, "offlinePush", 0)
|
utils.SetSwitchFromOptions(msg.Options, "offlinePush", 0)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user