mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
msg: add imap flag aliases
This commit is contained in:
parent
cc918e0eee
commit
0e98def513
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue