From 94f515fa42e358098e4f313bd3d6475f377662ef Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Tue, 26 Oct 2021 16:20:21 +0800 Subject: [PATCH] msg slice storage --- src/common/db/mongoModel.go | 3 --- 1 file changed, 3 deletions(-) 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 }