Files
Simon Martin 0123f979b1 imap: always post a messageinfo when fetching message headers
aerc ended up in an infinite loop trying to fetch the headers for a
message that somehow confused go-imap.

While I can't reproduce, it looks like 6dc701a2a introduced a regression
in case of error when fetching any message's headers: we used to still
post a MessageInfo for all messages (possibly reporting an error), while
we don't anymore... and will retry right away.

This patch fixes this.

Fixes: 6dc701a2a ("imap: centralize error and response handling in Run loop")
Signed-off-by: Simon Martin <simon@nasilyan.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2026-09-14 22:23:49 +02:00
..
2026-02-09 14:46:27 +01:00
2026-03-19 09:21:52 +01:00