]> Sergey Matveev's repositories - public-inbox.git/commit
view: correctly pick latest in index anchor links
authorEric Wong <e@80x24.org>
Thu, 1 Oct 2015 05:57:19 +0000 (05:57 +0000)
committerEric Wong <e@80x24.org>
Thu, 1 Oct 2015 05:58:06 +0000 (05:58 +0000)
commit6c074ee45d9948a0900ff6661d2fa3d10f2becdf
tree6e0f4082248e0f38a425d6d6ea0868fc5284c305
parente012d02ca21ddd01864c683e9cec318190abb047
view: correctly pick latest in index anchor links

The last message in a thread _display_ is not necessarily the
latest message in the thread.  We must go by the Date: header
on the messages themselves as a best-guess.  Of course Date:
headers may lie, but most mail clients trust them by default,
so we will, too.
lib/PublicInbox/View.pm