diff --git a/src/common/db/mongoModel.go b/src/common/db/mongoModel.go index 0c415d103..b5748347c 100644 --- a/src/common/db/mongoModel.go +++ b/src/common/db/mongoModel.go @@ -158,9 +158,6 @@ func (d *DataBases) GetMsgBySeqList(uid string, seqList []int64) (SingleMsg []*p } } } - if allCount == len(seqList) { - break - } } return SingleMsg, GroupMsg, MaxSeq, MinSeq, nil }