mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
fix build with go1.19
This commit is contained in:
parent
3de6642b3a
commit
b349010e3d
1 changed files with 2 additions and 3 deletions
|
@ -149,9 +149,8 @@ func (a *Account) ExportMessages(log *mlog.Log, archiver Archiver, maildir bool,
|
|||
if iid != jid {
|
||||
return mailboxOrder[iid] < mailboxOrder[jid]
|
||||
}
|
||||
t := msgs[i].Received.Compare(msgs[j].Received)
|
||||
if t != 0 {
|
||||
return t < 0
|
||||
if !msgs[i].Received.Equal(msgs[j].Received) {
|
||||
return msgs[i].Received.Before(msgs[j].Received)
|
||||
}
|
||||
return msgs[i].ID < msgs[j].ID
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue