fix output of "mox checkupdate", and specify changes to be from newest to oldest

This commit is contained in:
Mechiel Lukkien
2023-02-17 20:14:26 +01:00
parent cafccefad1
commit 4e5030ff38
4 changed files with 14 additions and 7 deletions

View File

@ -235,8 +235,8 @@ requested, other TLS certificates are requested on demand.
}
var cl string
for i := len(changelog.Changes) - 1; i >= 0; i-- {
cl += changelog.Changes[i].Text + "\n\n"
for _, c := range changelog.Changes {
cl += c.Text + "\n\n"
}
a, err := store.OpenAccount(mox.Conf.Static.Postmaster.Account)