diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-07-23 21:03:45 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-24 23:05:11 +0200 |
commit | 80f8bab6cf01fb3bb2d1c7e8598d67f517617954 (patch) | |
tree | 1a47f800e5cda12f596357690afc08ba176272cf /commands/msg/forward.go | |
parent | 0f86666f52620051aaf10cc85c4cacc20af383cb (diff) | |
download | aerc-80f8bab6cf01fb3bb2d1c7e8598d67f517617954.tar.gz |
delete: move tab replace logic into Done callback
Move tab replacement logic for next-message-on-delete into the
callback. This also moves the Invalidate() call into the callback, and
should make imap deletion UI work more reliably - there is a race
condition between the worker and the UI in displaying deleted messages.
This should resolve the race condition, and also only remove the MsgView
tab if the message is actually deleted.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg/forward.go')
0 files changed, 0 insertions, 0 deletions