mirror of
https://git.sr.ht/~rjarry/aerc
synced 2026-09-28 12:01:57 +02:00
Do not use go-message functions to parse Message-ID, References and In-Reply-To headers. These functions are very pedantic about RFC compliance which leads to insane slowdowns when aerc deals with non RFC-compliant emails. Use a broad regular expression to match anything that looks like a message ID. The added lenient functions cannot fail. Signed-off-by: Robin Jarry <robin@jarry.cc>