Fixed bodystructure tests

This commit is contained in:
Mauro D
2023-06-26 14:02:39 +00:00
parent b5f2af7d6a
commit 0cd010f8ec
3 changed files with 7 additions and 3 deletions

View File

@@ -600,7 +600,7 @@ impl SessionData {
}
}
trait AsImapDataItem<'x> {
pub trait AsImapDataItem<'x> {
fn body_structure(&self, is_extended: bool) -> BodyPart;
fn body_section<'z: 'x>(
&'z self,

View File

@@ -350,7 +350,7 @@ impl SessionData {
}
Err(MethodError::ServerUnavailable) => {
response.rtype = ResponseType::No;
response.message = "Some messaged could not be updated.".into();
response.message = "Some messages could not be updated.".into();
}
Err(_) => {
return Err(StatusResponse::database_failure()