]> Sergey Matveev's repositories - public-inbox.git/commit
lei: improve handling of Message-ID-less draft messages
authorEric Wong <e@80x24.org>
Sat, 3 Apr 2021 10:48:26 +0000 (10:48 +0000)
committerEric Wong <e@80x24.org>
Sat, 3 Apr 2021 18:38:47 +0000 (18:38 +0000)
commitb3e2975029ae938bb232aaa0cbc3dabda55d57d6
treebe5e7278753fa9314fded8c64c13d0d1c67e2990
parente8ad075ab7d02b260fdf8470e6d851ade4eac6fa
lei: improve handling of Message-ID-less draft messages

We need a stable fallback time for digest2mid in the presence
of messages without Received/Date headers.  Furthermore, we
must avoid using uninitialized smsg->{mid} when parsing
References for draft replies.
lib/PublicInbox/Import.pm
lib/PublicInbox/LeiSearch.pm
lib/PublicInbox/OverIdx.pm
lib/PublicInbox/Smsg.pm
t/lei-import.t