From 0e98def513fe9f1db0ccda16dbcf2cb20b5fbc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Tue, 29 Mar 2022 20:58:02 +0200 Subject: [PATCH] msg: add imap flag aliases --- cli/src/backends/imap/imap_flag.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/backends/imap/imap_flag.rs b/cli/src/backends/imap/imap_flag.rs index 87bb8b9..40fdb67 100644 --- a/cli/src/backends/imap/imap_flag.rs +++ b/cli/src/backends/imap/imap_flag.rs @@ -22,9 +22,9 @@ impl From<&str> for ImapFlag { fn from(flag_str: &str) -> Self { match flag_str { "seen" => ImapFlag::Seen, - "answered" => ImapFlag::Answered, + "answered" | "replied" => ImapFlag::Answered, "flagged" => ImapFlag::Flagged, - "deleted" => ImapFlag::Deleted, + "deleted" | "trashed" => ImapFlag::Deleted, "draft" => ImapFlag::Draft, "recent" => ImapFlag::Recent, "maycreate" | "may-create" => ImapFlag::MayCreate,