aerc/lib
Koni Marti 9f4da4de0c msglist: update message counter upon filter change
Update message counter in msglist when the filter is changed (either set or
cleared in the msgstore).

When we apply a filter, we change the number of uids in the message
store. This can unintentionally trigger the storeUpdate() function of
the msglist which checks the number of uids for new messages and
advances the pointer by the difference in the number of messages. This
can be avoided when we update the message counter upon changing the
filter.

Fixes: https://todo.sr.ht/~rjarry/aerc/23
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-03-20 10:00:50 +01:00
..
format messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
sort go.mod: change base git url 2021-11-05 10:21:45 +01:00
statusline statusline: implement per-account status 2022-03-18 23:42:07 +01:00
templates config: do not hardcode sharedir 2022-02-19 15:24:55 +01:00
ui lib/ui/textinput: stop at /, ", and ' chars 2022-02-03 13:17:10 +01:00
uidstore Create UIDStore package 2019-07-12 11:09:47 -04:00
dirstore.go Move msgstore map to dirstore 2019-07-26 14:15:27 -04:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
keepalive_dummy.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
keepalive_linux.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
keystore.go pgp: PGP/MIME encryption for outgoing emails 2022-01-07 13:45:34 +01:00
messageview.go pgp: update openpgp packages (go-crypto and go-pgpmail) 2022-01-07 13:45:34 +01:00
msgstore.go msglist: update message counter upon filter change 2022-03-20 10:00:50 +01:00
oauthbearer.go Add `oauthbearer` support for SMTP 2020-08-13 07:44:43 +02:00
open.go Refactor lib/open to accept user provided arguments 2021-01-30 14:04:23 +01:00
socket.go all: fix minor issues found by staticcheck 2022-03-12 21:00:23 +01:00
structure_helpers.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
threadbuilder.go go vet: unreachable code 2022-03-18 13:33:21 +01:00