mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-25 12:30:22 +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 {
|
fn from(flag_str: &str) -> Self {
|
||||||
match flag_str {
|
match flag_str {
|
||||||
"seen" => ImapFlag::Seen,
|
"seen" => ImapFlag::Seen,
|
||||||
"answered" => ImapFlag::Answered,
|
"answered" | "replied" => ImapFlag::Answered,
|
||||||
"flagged" => ImapFlag::Flagged,
|
"flagged" => ImapFlag::Flagged,
|
||||||
"deleted" => ImapFlag::Deleted,
|
"deleted" | "trashed" => ImapFlag::Deleted,
|
||||||
"draft" => ImapFlag::Draft,
|
"draft" => ImapFlag::Draft,
|
||||||
"recent" => ImapFlag::Recent,
|
"recent" => ImapFlag::Recent,
|
||||||
"maycreate" | "may-create" => ImapFlag::MayCreate,
|
"maycreate" | "may-create" => ImapFlag::MayCreate,
|
||||||
|
|
Loading…
Reference in a new issue