pull/455/head
wenxu12345 3 years ago committed by Xinwei Xiong(cubxxw-openim)
parent d8814ad09f
commit daa716a083

@ -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)
}

Loading…
Cancel
Save