mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-06 10:05:58 +08:00
fix redis conversation key
This commit is contained in:
@@ -206,16 +206,6 @@ func (m *MsgMongoDriver) GetMsgBySeqIndexIn1Doc(ctx context.Context, userID, doc
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
////i := 0
|
||||
//for cursor.Next(ctx) {
|
||||
// err := cursor.Decode(&doc)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
// //if i == 0 {
|
||||
// // break
|
||||
// //}
|
||||
//}
|
||||
log.ZDebug(ctx, "msgInfos", "num", len(doc.Msg), "docID", docID)
|
||||
for _, v := range doc.Msg {
|
||||
if v.Msg == nil {
|
||||
|
||||
Reference in New Issue
Block a user