mirror of
https://git.sr.ht/~rjarry/aerc
synced 2026-10-25 08:15:02 +01:00
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 like6dc701a2aintroduced 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>