fix mongoDB bug

pull/344/head
wangchuxiao 2 years ago
parent 28614e4c13
commit c758628701

@ -57,6 +57,8 @@ func newUserSendMsgReq(params *api.ManagementSendMsgReq) *pbChat.SendMsgReq {
fallthrough fallthrough
case constant.CustomOnlineOnly: case constant.CustomOnlineOnly:
fallthrough fallthrough
case constant.AtText:
fallthrough
case constant.AdvancedRevoke: case constant.AdvancedRevoke:
utils.SetSwitchFromOptions(options, constant.IsUnreadCount, false) utils.SetSwitchFromOptions(options, constant.IsUnreadCount, false)
newContent = utils.StructToJsonString(params.Content) newContent = utils.StructToJsonString(params.Content)

Loading…
Cancel
Save