Pass topics to mailserver cursor

The topics field was not passed to the mailserver, which meant that
queries were still using the old bloom filter.
Hopefully this is the last place where we need to pass this.
This commit is contained in:
Andrea Maria Piana 2021-01-25 11:00:27 +01:00
parent 74cdcbb700
commit 2427b3c0a5
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
0.68.6
0.68.7

View File

@ -958,6 +958,7 @@ func (s *mailServer) createIterator(req MessagesRequestPayload) (Iterator, error
start: kl.Bytes(),
end: ku.Bytes(),
cursor: req.Cursor,
topics: req.Topics,
bloom: req.Bloom,
limit: req.Limit,
}