aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/idler.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2023-06-23 22:39:43 +0200
committerRobin Jarry <robin@jarry.cc>2023-06-25 22:34:00 +0200
commit9d0fdffeef2f4ae1f8c1b57f558e68ba4bd9ad28 (patch)
treec9be2024af6cde9d523e1fd63ac497aec2e31879 /worker/imap/idler.go
parentd860e26629fd1d59539201a53f4af3eef9f14ccf (diff)
downloadaerc-9d0fdffeef2f4ae1f8c1b57f558e68ba4bd9ad28.tar.gz
imap: only call UidSort with sort criteria
Only call UidSort with some sort criteria. If we call it without, some imap severs report it as an error. For example, Fastmail imap with the sort config in aerc.conf commented out reports: "[Fastmail] unexpected error: Missing Sort criteria" and cannot display the messages. Fixes: https://lists.sr.ht/~rjarry/aerc-devel/%3C5955665f-4d1a-4295-86bd-d1a5eabd0d6d%40milic.suse.cz%3E Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/imap/idler.go')
0 files changed, 0 insertions, 0 deletions