diff options
Diffstat (limited to 'plugins/base')
-rw-r--r-- | plugins/base/imap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/imap.go b/plugins/base/imap.go index 3e268db..8c2040f 100644 --- a/plugins/base/imap.go +++ b/plugins/base/imap.go @@ -239,7 +239,7 @@ func searchMessages(conn *imapclient.Client, mboxName, query string, page int) ( } total = len(nums) - from := page*messagesPerPage + from := page * messagesPerPage to := from + messagesPerPage if from >= len(nums) { return nil, total, nil |