conversation update

This commit is contained in:
Gordon
2021-12-08 17:44:16 +08:00
parent 687933a63e
commit ebd867a6d5
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ func modifyMessageByUserMessageReceiveOpt(userID, sourceID string, sessionType i
case constant.NotReceiveMessage:
return false
case constant.ReceiveNotNotifyMessage:
m := utils.JsonStringToMap(msg.OfflineInfo)
m := utils.JsonStringToMap(msg.Options)
utils.SetSwitchFromOptions(m, "offlinePush", 0)
s := utils.MapToJsonString(m)
msg.OfflineInfo = s