From fc4d1cd41aad9c00f27056c2eb70e56592102e7a Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Mon, 13 Nov 2023 17:47:06 +0800 Subject: [PATCH] fix: the original message referenced by the pull message processing is withdrawn --- pkg/common/db/controller/msg.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/common/db/controller/msg.go b/pkg/common/db/controller/msg.go index e6cfd36cf..2dcf1bbe8 100644 --- a/pkg/common/db/controller/msg.go +++ b/pkg/common/db/controller/msg.go @@ -453,9 +453,9 @@ func (db *commonMsgDatabase) handlerDBMsg(ctx context.Context, cache map[int64][ log.ZError(ctx, "json.Unmarshal", err) return } - //if quoteMsg.QuoteMessage == nil || quoteMsg.QuoteMessage.ContentType == constant.MsgRevokeNotification { - // return - //} + if quoteMsg.QuoteMessage == nil || quoteMsg.QuoteMessage.ContentType == constant.MsgRevokeNotification { + return + } var msgs []*unrelationtb.MsgInfoModel if v, ok := cache[quoteMsg.QuoteMessage.Seq]; ok { msgs = v