mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-03 07:55:13 +00:00
add missing envelope property to
This commit is contained in:
parent
2566d45a96
commit
362a5ca647
|
@ -27,6 +27,7 @@ pub struct Envelope {
|
||||||
pub flags: Flags,
|
pub flags: Flags,
|
||||||
pub subject: String,
|
pub subject: String,
|
||||||
pub from: Mailbox,
|
pub from: Mailbox,
|
||||||
|
pub to: Mailbox,
|
||||||
pub date: String,
|
pub date: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,6 +97,10 @@ impl Envelopes {
|
||||||
name: envelope.from.name.clone(),
|
name: envelope.from.name.clone(),
|
||||||
addr: envelope.from.addr.clone(),
|
addr: envelope.from.addr.clone(),
|
||||||
},
|
},
|
||||||
|
to: Mailbox {
|
||||||
|
name: envelope.to.name.clone(),
|
||||||
|
addr: envelope.to.addr.clone(),
|
||||||
|
},
|
||||||
date: envelope.format_date(config),
|
date: envelope.format_date(config),
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue