]> Sergey Matveev's repositories - public-inbox.git/commit
view: cleanup topic accumulation and dumping
authorEric Wong <e@yhbt.net>
Sat, 15 Feb 2020 09:46:36 +0000 (09:46 +0000)
committerEric Wong <e@yhbt.net>
Sun, 16 Feb 2020 00:06:40 +0000 (00:06 +0000)
commit6f3e8ec25faa1fc71c0bc13bb2615b8fa45a44a1
treeaeffb373369e7f3c44ab5afb558055820a691adb
parentb2666c45f6ce539cbe64367675230b13e613b1fb
view: cleanup topic accumulation and dumping

Avoid needlessly normalizing the subject when dumping, since
it's pushed into the @$topic array during accumulation in
normalized form.

We can also safely treat $smsg as a hashref and avoid
calling "->ds" as a method since we know we've got that
loaded via Over||Search and won't have to use Email::MIME
header lookup methods.
lib/PublicInbox/View.pm