From 2d56dacd0e42e91153c6685b883c2566b00627ad Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Thu, 23 Dec 2021 17:22:26 +0800 Subject: [PATCH] send msg file modify --- pkg/common/constant/constant.go | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkg/common/constant/constant.go b/pkg/common/constant/constant.go index 9cabc19..710200c 100644 --- a/pkg/common/constant/constant.go +++ b/pkg/common/constant/constant.go @@ -37,6 +37,7 @@ const ( Card = 108 Location = 109 Custom = 110 + Revoke = 111 HasReadReceipt = 112 Typing = 113 Quote = 114 @@ -48,8 +49,6 @@ const ( AddFriendTip = 202 RefuseFriendApplicationTip = 203 SetSelfInfoTip = 204 - Revoke = 205 - C2CMessageAsRead = 206 TransferGroupOwnerTip = 501 CreateGroupTip = 502 @@ -95,6 +94,14 @@ const ( ReceiveMessage = 0 NotReceiveMessage = 1 ReceiveNotNotifyMessage = 2 + + //OptionsKey + IsHistory = "history" + IsPersistent = "persistent" + IsOfflinePush = "offlinePush" + IsUnreadCount = "unreadCount" + IsConversationUpdate = "conversationUpdate" + IsSenderSync = "senderSync" ) var ContentType2PushContent = map[int64]string{ -- GitLab