diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/msg/read.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/msg/read.go b/commands/msg/read.go index a92a4d0a..e682a156 100644 --- a/commands/msg/read.go +++ b/commands/msg/read.go @@ -65,6 +65,10 @@ func (f FlagMsg) Execute(args []string) error { f.Flag = models.SeenFlag f.FlagName = "seen" case "flag", "unflag": + if f.Answered { + f.Flag = models.AnsweredFlag + f.FlagName = "answered" + } if f.Flag == 0 { f.Flag = models.FlaggedFlag f.FlagName = "flagged" |