|
|
@ -158,9 +158,6 @@ func (m *msgServer) encapsulateMsgData(msg *sdkws.MsgData) {
|
|
|
|
case constant.Custom:
|
|
|
|
case constant.Custom:
|
|
|
|
fallthrough
|
|
|
|
fallthrough
|
|
|
|
case constant.Quote:
|
|
|
|
case constant.Quote:
|
|
|
|
utils.SetSwitchFromOptions(msg.Options, constant.IsConversationUpdate, true)
|
|
|
|
|
|
|
|
utils.SetSwitchFromOptions(msg.Options, constant.IsUnreadCount, true)
|
|
|
|
|
|
|
|
utils.SetSwitchFromOptions(msg.Options, constant.IsSenderSync, true)
|
|
|
|
|
|
|
|
case constant.Revoke:
|
|
|
|
case constant.Revoke:
|
|
|
|
utils.SetSwitchFromOptions(msg.Options, constant.IsUnreadCount, false)
|
|
|
|
utils.SetSwitchFromOptions(msg.Options, constant.IsUnreadCount, false)
|
|
|
|
utils.SetSwitchFromOptions(msg.Options, constant.IsOfflinePush, false)
|
|
|
|
utils.SetSwitchFromOptions(msg.Options, constant.IsOfflinePush, false)
|
|
|
|