From b5deceaa3bb09e5cca2867d2d1fcd4a63289494f Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Fri, 9 Sep 2022 11:00:15 +0800 Subject: [PATCH] put client msg id to offline callback --- internal/push/logic/callback.go | 1 + pkg/call_back_struct/push.go | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/push/logic/callback.go b/internal/push/logic/callback.go index 065d06ddc..f9722f3c2 100644 --- a/internal/push/logic/callback.go +++ b/internal/push/logic/callback.go @@ -113,6 +113,7 @@ func callbackBeforeSuperGroupOnlinePush(operationID string, groupID string, msg Platform: constant.PlatformIDToName(int(msg.SenderPlatformID)), }, OfflinePushInfo: msg.OfflinePushInfo, + ClientMsgID: msg.ClientMsgID, SendID: msg.SendID, GroupID: groupID, ContentType: msg.ContentType, diff --git a/pkg/call_back_struct/push.go b/pkg/call_back_struct/push.go index 9fcb99032..3225d703d 100644 --- a/pkg/call_back_struct/push.go +++ b/pkg/call_back_struct/push.go @@ -23,6 +23,7 @@ type CallbackBeforePushResp struct { type CallbackBeforeSuperGroupOnlinePushReq struct { *commonPb.OfflinePushInfo UserStatusBaseCallback + ClientMsgID string `json:"clientMsgID"` SendID string `json:"sendID"` GroupID string `json:"groupID"` ContentType int32 `json:"contentType"`