diff --git a/pkg/common/db/unrelation/msg.go b/pkg/common/db/unrelation/msg.go index b8581e3b0..c6506c6d6 100644 --- a/pkg/common/db/unrelation/msg.go +++ b/pkg/common/db/unrelation/msg.go @@ -244,6 +244,7 @@ func (m *MsgMongoDriver) GetMsgBySeqIndexIn1Doc(ctx context.Context, userID stri } for i, model := range msgDocModel[0].Msg { if i < 10 { + log.ZDebug(ctx, "GetMsgBySeqIndexIn1Doc for", "index", i, "model", model, "eq nil", model == nil) log.ZDebug(ctx, "GetMsgBySeqIndexIn1Doc for", "index", i, "msg", model.Msg, "del", model.DelList, "revoke", model.Revoke) } if model.Msg != nil && model.Revoke != nil {