diff --git a/internal/msg_transfer/logic/db.go b/internal/msg_transfer/logic/db.go index 7a2af5404..89bda4b1b 100644 --- a/internal/msg_transfer/logic/db.go +++ b/internal/msg_transfer/logic/db.go @@ -24,5 +24,6 @@ func saveUserChat(uid string, msg *pbMsg.MsgDataToMQ) error { func saveUserChatList(userID string, msgList []*pbMsg.MsgDataToMQ, operationID string) error { log.Info(operationID, utils.GetSelfFuncName(), "args ", userID, len(msgList)) - return db.DB.BatchInsertChat(userID, msgList, operationID) + //return db.DB.BatchInsertChat(userID, msgList, operationID) + return db.DB.BatchInsertChatBoth(userID, msgList, operationID) }