mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
TODO: What to do with NextBatch here?
This commit is contained in:
parent
54838a7b7a
commit
50f26a3002
|
|
@ -180,7 +180,7 @@ func NewResponse(pos SyncPosition) *Response {
|
||||||
|
|
||||||
// Fill next_batch with a pagination token. Since this is a response to a sync request, we can assume
|
// Fill next_batch with a pagination token. Since this is a response to a sync request, we can assume
|
||||||
// we'll always return a stream token.
|
// we'll always return a stream token.
|
||||||
res.NextBatch = NewPaginationTokenFromTypeAndPosition(PaginationTokenTypeStream, pos).String()
|
//res.NextBatch = NewPaginationTokenFromTypeAndPosition(PaginationTokenTypeStream, pos).String()
|
||||||
|
|
||||||
return &res
|
return &res
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue