diff options
author | Stephen Brennan <stephen@brennan.io> | 2019-08-27 21:54:28 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-08-29 08:44:08 +0900 |
commit | ac99d9ed62644cf0259bdd79481b28c3fbcef650 (patch) | |
tree | 3c71dda62e9b2cd8f27d03d3af4edf6dbbae6e36 /commands/msg/read.go | |
parent | a2c5233f71522c894b90388623959dcd4cd44256 (diff) |
Fix out-of-order messages by sorting as we display
Sometimes I observe out-of-order messages when using a maildir inbox. It
appears that the UIDs for these messages are returned out of order by
the MessageStore. In order for a maildir MessageStore to return messages
in most recently received order, it must have already opened all
messages and parsed the date to use as a sort key. Rather than implement
that, simply sort messages by time as we display. This fix shows my
emails in order.
Diffstat (limited to 'commands/msg/read.go')
0 files changed, 0 insertions, 0 deletions