Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtbuilds committed Jun 10, 2024
1 parent d8df17a commit 50ddf79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/message_part.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl MessagePart {
if self.mime_type == mime_type {
Some(self)
} else if self.mime_type.starts_with("multipart/") {
self.parts.iter().find_map(|part| part.find(mime_type))
self.parts.iter().find_map(|part| part.find_mime(mime_type))
} else {
None
}
Expand Down

0 comments on commit 50ddf79

Please sign in to comment.