aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorinwit <inwit@sindominio.net>2024-06-29 17:14:21 +0200
committerRobin Jarry <robin@jarry.cc>2024-08-20 11:54:34 +0200
commitb94b4c00c9c96355c411881b5e5cc42c5f83d159 (patch)
tree6369a6010c04f5db6772774575770c2dc949d844 /models
parenta64563466ddcb9fc321b8dd540f929c979310af9 (diff)
downloadaerc-b94b4c00c9c96355c411881b5e5cc42c5f83d159.tar.gz
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 <inwit@sindominio.net> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'models')
-rw-r--r--models/models.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index e05c81ac..749d14d9 100644
--- a/models/models.go
+++ b/models/models.go
@@ -25,6 +25,9 @@ const (
// AnsweredFlag marks a message as having been replied to
AnsweredFlag
+ // ForwardedFlag marks a message as having been forwarded
+ ForwardedFlag
+
// DeletedFlag marks a message as having been deleted
DeletedFlag