diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2024-07-11 11:34:18 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-20 11:50:55 +0200 |
commit | a890fcb435e223897e9cacd92fc95673af45fb81 (patch) | |
tree | 0fd5958a6c23b55228cabbc241925c025c8b5b4d /main.go | |
parent | 7dd0fdeda6c9a0d2426e88c221d6ad37561dd83f (diff) | |
download | aerc-a890fcb435e223897e9cacd92fc95673af45fb81.tar.gz |
maildir: only abort directory listing if there are 0 uids
If there is an error in container.UIDs, we will abort handling the
message list, resulting in showing the number of messages by the
directory name, but having an empty message list showing. Only return
with err, if UIDs actually returned 0 messages.
References: https://todo.sr.ht/~rjarry/aerc/215
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions