diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-02 09:53:11 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-02 09:53:11 +0000 |
commit | af2e250ca2704d06afe0a7ed862dcfca7f740de7 (patch) | |
tree | 7f55c7ae901c6b87714e0a94279b12561510758e /lib/PublicInbox/MID.pm | |
parent | 7cacb4ae964408519f5577b895897c447c272da6 (diff) | |
download | public-inbox-af2e250ca2704d06afe0a7ed862dcfca7f740de7.tar.gz |
It's shorter and more convenient, here.
Diffstat (limited to 'lib/PublicInbox/MID.pm')
-rw-r--r-- | lib/PublicInbox/MID.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/PublicInbox/MID.pm b/lib/PublicInbox/MID.pm index 786c056f..4ccb704d 100644 --- a/lib/PublicInbox/MID.pm +++ b/lib/PublicInbox/MID.pm @@ -68,6 +68,9 @@ sub uniq_mids { } sub mids { uniq_mids($_[0], 'Message-Id') } + +# last References should be IRT, but some mail clients do things +# out of order, so trust IRT over References iff IRT exists sub references { uniq_mids($_[0], 'References', 'In-Reply-To') } # RFC3986, section 3.3: |