Fix build

0f52f63863 rebase broke the build
This commit is contained in:
Alexander Krotov
2020-01-21 17:17:51 +03:00
parent 1732c3b350
commit 84a5276ab0

View File

@@ -401,7 +401,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
));
unprotected_headers.push(Header::new("Chat-Version".to_string(), "1.0".to_string()));
if let Loaded::MDN = self.loaded {
if let Loaded::MDN { .. } = self.loaded {
unprotected_headers.push(Header::new(
"Auto-Submitted".to_string(),
"auto-replied".to_string(),