tag message sender not notification

This commit is contained in:
Gordon 2022-05-18 18:37:42 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent c4d3f87bf1
commit 8a1ddafec8
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ func TagSendMessage(operationID string, user *db.User, recvID, content string, s
msgData.SenderNickname = user.Nickname
msgData.Options = map[string]bool{}
msgData.Options[constant.IsSenderConversationUpdate] = false
msgData.Options[constant.IsSenderNotificationPush] = false
msgData.CreateTime = utils.GetCurrentTimestampByMill()
msgData.ClientMsgID = utils.GetMsgID(user.UserID)
msgData.SenderPlatformID = senderPlatformID

View File

@ -141,6 +141,7 @@ const (
IsSenderSync = "senderSync"
IsNotPrivate = "notPrivate"
IsSenderConversationUpdate = "senderConversationUpdate"
IsSenderNotificationPush = "senderNotificationPush"
//GroupStatus
GroupOk = 0