diff --git a/internal/api/msg.go b/internal/api/msg.go index 8480ac7d3..e4a8fda17 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -262,8 +262,8 @@ func (m *MessageApi) BatchSendMsg(c *gin.Context) { apiresp.GinError(c, err) return } + recvIDs = append(recvIDs, recvIDsPart...) if len(recvIDsPart) < showNumber { - recvIDs = append(recvIDs, recvIDsPart...) break } pageNumber++