mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 02:16:16 +08:00
tag message sender not notification
This commit is contained in:
parent
fa94fd075f
commit
c1632f8e65
@ -27,6 +27,7 @@ func TagSendMessage(operationID string, user *db.User, recvID, content string, s
|
|||||||
msgData.SenderNickname = user.Nickname
|
msgData.SenderNickname = user.Nickname
|
||||||
msgData.Options = map[string]bool{}
|
msgData.Options = map[string]bool{}
|
||||||
msgData.Options[constant.IsSenderConversationUpdate] = false
|
msgData.Options[constant.IsSenderConversationUpdate] = false
|
||||||
|
msgData.Options[constant.IsSenderNotificationPush] = false
|
||||||
msgData.CreateTime = utils.GetCurrentTimestampByMill()
|
msgData.CreateTime = utils.GetCurrentTimestampByMill()
|
||||||
msgData.ClientMsgID = utils.GetMsgID(user.UserID)
|
msgData.ClientMsgID = utils.GetMsgID(user.UserID)
|
||||||
msgData.SenderPlatformID = senderPlatformID
|
msgData.SenderPlatformID = senderPlatformID
|
||||||
|
@ -144,6 +144,7 @@ const (
|
|||||||
IsSenderSync = "senderSync"
|
IsSenderSync = "senderSync"
|
||||||
IsNotPrivate = "notPrivate"
|
IsNotPrivate = "notPrivate"
|
||||||
IsSenderConversationUpdate = "senderConversationUpdate"
|
IsSenderConversationUpdate = "senderConversationUpdate"
|
||||||
|
IsSenderNotificationPush = "senderNotificationPush"
|
||||||
|
|
||||||
//GroupStatus
|
//GroupStatus
|
||||||
GroupOk = 0
|
GroupOk = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user