aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/msgstore.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index b3461291..1061c8e3 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -337,7 +337,7 @@ func (store *MessageStore) Select(index int) {
}
}
-func (store *MessageStore) nextPrev(delta int) {
+func (store *MessageStore) NextPrev(delta int) {
uids := store.Uids()
if len(uids) == 0 {
return
@@ -361,11 +361,11 @@ func (store *MessageStore) nextPrev(delta int) {
}
func (store *MessageStore) Next() {
- store.nextPrev(1)
+ store.NextPrev(1)
}
func (store *MessageStore) Prev() {
- store.nextPrev(-1)
+ store.NextPrev(-1)
}
func (store *MessageStore) Search(c *imap.SearchCriteria, cb func([]uint32)) {