5c5158b3c1
Unmark deleted messages and remove pending headers in the callback function when an error in the backend occurs (e.g. due to connection issues). The message store marks messages that should be deleted. If the delete operation in the backend fails, messages are never unmarked and will remain rendered as empty lines in the message list. This also affects the move and archive commands that rely on a copy and delete operation. A similar issue occurs with the pending headers when the operation to fetch them fails. In this case, messages will appear as loading indefinitely in the message list and are never re-fetched because the corresponding pending headers from the failed operations are still present. Fixes: https://todo.sr.ht/~rjarry/aerc/28 Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc> |
||
---|---|---|
.. | ||
crypto | ||
format | ||
sort | ||
statusline | ||
templates | ||
ui | ||
uidstore | ||
dirstore.go | ||
history.go | ||
keepalive_dummy.go | ||
keepalive_linux.go | ||
messageview.go | ||
msgstore.go | ||
oauthbearer.go | ||
open.go | ||
socket.go | ||
structure_helpers.go | ||
threadbuilder.go |