about summary refs log tree commit homepage
path: root/lib/PublicInbox/MID.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-02 09:53:11 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-02 09:53:11 +0000
commitaf2e250ca2704d06afe0a7ed862dcfca7f740de7 (patch)
tree7f55c7ae901c6b87714e0a94279b12561510758e /lib/PublicInbox/MID.pm
parent7cacb4ae964408519f5577b895897c447c272da6 (diff)
downloadpublic-inbox-af2e250ca2704d06afe0a7ed862dcfca7f740de7.tar.gz
It's shorter and more convenient, here.
Diffstat (limited to 'lib/PublicInbox/MID.pm')
-rw-r--r--lib/PublicInbox/MID.pm3
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: