aerc/commands/msg
inwit bc593ac7cd 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>
2021-12-13 14:56:39 +01:00
..
archive.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
copy.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
delete.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
forward.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
mark.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
modify-labels.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
move.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msg.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pipe.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
read.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
recall.go recall: allow recalling messages from any folder 2021-12-13 14:56:39 +01:00
reply.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
unsubscribe.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
unsubscribe_test.go Fix linter warnings 2021-02-26 22:14:58 +01:00
utils.go go.mod: change base git url 2021-11-05 10:21:45 +01:00