diff options
author | inwit <inwit@sindominio.net> | 2021-12-13 11:28:01 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2021-12-13 14:56:39 +0100 |
commit | bc593ac7cdb20621aba685987f2a92c9bd880358 (patch) | |
tree | 26af73a75c3f5d5b44e299b8f9e29acb12ee1c95 /widgets/status.go | |
parent | bc087d9b3099ec8215bfb111c9abeb1571407a28 (diff) | |
download | aerc-bc593ac7cdb20621aba685987f2a92c9bd880358.tar.gz |
recall: allow recalling messages from any folder
Recall fails when called outside of the "postpone" folder (usually
"Drafts"). This makes sense for postponed messages. However, sometimes
the user would like to re-edit and re-send an old, possibly sent,
message, which would serve as a basis for the new one.
This patch allows recall to work outside the postpone folder, thus
allowing for re-edition of any message.
In the original recall function, if the recalled message is found in the
"postpone" folder, once the message has been recalled, re-edited and
sent, the original draft is deleted. With this patch, when the message
is not in the "postpone" folder, the original message is not deleted.
Signed-off-by: inwit <inwit@sindominio.net>
Diffstat (limited to 'widgets/status.go')
0 files changed, 0 insertions, 0 deletions