From b94b4c00c9c96355c411881b5e5cc42c5f83d159 Mon Sep 17 00:00:00 2001 From: inwit Date: Sat, 29 Jun 2024 17:14:21 +0200 Subject: forward: allow forwarded flag to be set Usually, a MUA sets a flag for messages that have been forwarded, but this is currently not the case for aerc. Consider the forwarded flag and prepare aerc to set it everytime the :forward command is called and ends successfully. Changelog-added: The :forward command now sets the forwarded flag. Signed-off-by: inwit Acked-by: Robin Jarry --- worker/types/messages.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'worker') diff --git a/worker/types/messages.go b/worker/types/messages.go index 3fd018b2..b91adbb7 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -186,6 +186,12 @@ type AnsweredMessages struct { Uids []uint32 } +type ForwardedMessages struct { + Message + Forwarded bool + Uids []uint32 +} + type CopyMessages struct { Message Destination string -- cgit