diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-10-14 01:21:27 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-22 15:12:23 +0200 |
commit | 8fdabbc4bfcaf8f0214a66777336a356cc2a0616 (patch) | |
tree | dbf8d1e32ab8583f20de6eb3c20015cff8e7b5ff /app/account.go | |
parent | 53b455b084d3330384e63574876a70224c77923b (diff) | |
download | aerc-8fdabbc4bfcaf8f0214a66777336a356cc2a0616.tar.gz |
config: ensure account order as requested
Ensure the account order as requested by the -a option on the command
line. The current sorting is not working correctly, since it sorts
Accounts []*AccountConfig by comparing the names instead of the indexes
of the requested accounts.
Fixes: https://todo.sr.ht/~rjarry/aerc/190
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Inwit <inwit@sindominio.net>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'app/account.go')
0 files changed, 0 insertions, 0 deletions