about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-29 09:57:48 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-29 10:00:00 +0000
commit1775db99c8004699efefc010fe2f76f375adedf3 (patch)
treec7975e43e9d0303c338a8323a306174a5112a47d
parent8f9e9ae77525418a4d916d80297c66c4c854b16e (diff)
downloadpublic-inbox-1775db99c8004699efefc010fe2f76f375adedf3.tar.gz
Otherwise I would forget and be tempted to remove them.
-rw-r--r--lib/PublicInbox/SearchMsg.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/SearchMsg.pm
index e314fed1..e55d4019 100644
--- a/lib/PublicInbox/SearchMsg.pm
+++ b/lib/PublicInbox/SearchMsg.pm
@@ -41,8 +41,12 @@ sub load_from_data ($$) {
         $self->{subject} = $subj;
         $self->{from} = $from;
         $self->{references} = $refs;
+
+        # To: and Cc: are stored to optimize HDR/XHDR in NNTP since
+        # some NNTP clients will use that for message displays.
         $self->{to} = $to;
         $self->{cc} = $cc;
+
         $self->{blob} = $blob;
         $self->{mid} = $mid0;
 }