refactor: remove Chattype::Undefined

This commit is contained in:
link2xt
2023-07-31 22:40:10 +00:00
parent 70000d9ebb
commit e6cffd537e
7 changed files with 5 additions and 16 deletions

View File

@@ -324,7 +324,7 @@ impl Chatlist {
.context("loading contact failed")?;
(Some(lastmsg), Some(lastcontact))
}
Chattype::Single | Chattype::Undefined => (Some(lastmsg), None),
Chattype::Single => (Some(lastmsg), None),
}
}
} else {