mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 16:24:37 +03:00
fix build with go1.19
This commit is contained in:
@ -149,9 +149,8 @@ func (a *Account) ExportMessages(log *mlog.Log, archiver Archiver, maildir bool,
|
|||||||
if iid != jid {
|
if iid != jid {
|
||||||
return mailboxOrder[iid] < mailboxOrder[jid]
|
return mailboxOrder[iid] < mailboxOrder[jid]
|
||||||
}
|
}
|
||||||
t := msgs[i].Received.Compare(msgs[j].Received)
|
if !msgs[i].Received.Equal(msgs[j].Received) {
|
||||||
if t != 0 {
|
return msgs[i].Received.Before(msgs[j].Received)
|
||||||
return t < 0
|
|
||||||
}
|
}
|
||||||
return msgs[i].ID < msgs[j].ID
|
return msgs[i].ID < msgs[j].ID
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user