Merge pull request #458 from deltachat/fix-unknown

fix reading unknown origin
This commit is contained in:
björn petersen
2019-09-08 12:24:51 +02:00
committed by GitHub
5 changed files with 92 additions and 36 deletions

View File

@@ -38,6 +38,12 @@ pub enum MessageState {
OutMdnRcvd = 28,
}
impl Default for MessageState {
fn default() -> Self {
MessageState::Undefined
}
}
impl From<MessageState> for LotState {
fn from(s: MessageState) -> Self {
use MessageState::*;