msg database

This commit is contained in:
withchao
2023-02-23 18:48:14 +08:00
parent 2f1c064413
commit c8004279a4
5 changed files with 159 additions and 180 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ func (m *msgServer) PullMessageBySeqList(ctx context.Context, req *sdkws.PullMes
return nil, err
}
resp.List = msgs
for userID, list := range req.GroupSeqList {
for userID := range req.GroupSeqList {
msgs, err := m.MsgInterface.GetMessageListBySeq(ctx, userID, req.Seqs)
if err != nil {
return nil, err