fix bug: msg destruct sql

This commit is contained in:
wangchuxiao 2023-07-17 20:10:03 +08:00
parent 5cf8fe504b
commit 1e156b0d9c

View File

@ -33,6 +33,7 @@ func (c *MsgTool) ConversationsDestructMsgs() {
}
log.ZDebug(context.Background(), "nums conversations need destruct", "nums", len(conversations))
for _, conversation := range conversations {
ctx = mcontext.NewCtx(utils.GetSelfFuncName() + "-" + utils.OperationIDGenerator() + "-" + conversation.ConversationID + "-" + conversation.OwnerUserID)
log.ZDebug(
ctx,
"UserMsgsDestruct",