add missing delete header

This commit is contained in:
B. Petersen
2019-12-11 03:07:32 +01:00
committed by holger krekel
parent 409c96e571
commit 3bb58be2b5

View File

@@ -693,6 +693,12 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
"Chat-Content".to_string(),
"group-avatar-changed".to_string(),
));
if grpimage.is_none() {
protected_headers.push(Header::new(
"Chat-Group-Avatar".to_string(),
"0".to_string(),
));
}
add_compatibility_header = true;
}
_ => {}