diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-07-30 17:36:56 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-31 20:02:46 +0200 |
commit | 318f7d252c6daa9c44b8ee8771bcb09c9ae82256 (patch) | |
tree | ae616149f586b552e8bd0cf3b1479a8f5f2c2323 /worker/imap/flags.go | |
parent | 27425c15c4b96f1e11db8cc496b48f3d0fc0d3f4 (diff) | |
download | aerc-318f7d252c6daa9c44b8ee8771bcb09c9ae82256.tar.gz |
notmuch: fix cursor movement in threaded view
Set the SkipSort flag when sending directory infos for counting
purposes. Without this, the directory infos would trigger a directory
fetch which could bring the notmuch threads out of sync with the message
list. The notmuch backend sends these directory infos automatically
every minute.
To reproduce the weird cursor movement in notmuch's threaded view:
1. enter threaded view in notmuch
2. wait 1 min (until the auto directory infos are sent out)
3. move cursor around and notice how it jumps over threads
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'worker/imap/flags.go')
0 files changed, 0 insertions, 0 deletions