From 7110183892d8748cf209021f211ee3895badc298 Mon Sep 17 00:00:00 2001 From: icey-yu <119291641+icey-yu@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:52:03 +0800 Subject: [PATCH] h (#2501) --- internal/rpc/msg/callback.go | 1 + pkg/callbackstruct/common.go | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/rpc/msg/callback.go b/internal/rpc/msg/callback.go index be58d7504..3b76c2553 100644 --- a/internal/rpc/msg/callback.go +++ b/internal/rpc/msg/callback.go @@ -41,6 +41,7 @@ func toCommonCallback(ctx context.Context, msg *pbchat.SendMsgReq, command strin MsgFrom: msg.MsgData.MsgFrom, ContentType: msg.MsgData.ContentType, Status: msg.MsgData.Status, + SendTime: msg.MsgData.SendTime, CreateTime: msg.MsgData.CreateTime, AtUserIDList: msg.MsgData.AtUserIDList, SenderFaceURL: msg.MsgData.SenderFaceURL, diff --git a/pkg/callbackstruct/common.go b/pkg/callbackstruct/common.go index d6714f5f2..9d6a325a8 100644 --- a/pkg/callbackstruct/common.go +++ b/pkg/callbackstruct/common.go @@ -35,6 +35,7 @@ type CommonCallbackReq struct { MsgFrom int32 `json:"msgFrom"` ContentType int32 `json:"contentType"` Status int32 `json:"status"` + SendTime int64 `json:"sendTime"` CreateTime int64 `json:"createTime"` Content string `json:"content"` Seq uint32 `json:"seq"`