mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-07 12:17:02 +08:00
fix bug: send all not send msg 2 all user
This commit is contained in:
parent
a73d8fe4f6
commit
75c028aa9b
@ -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++
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user