make clippy happy

This commit is contained in:
B. Petersen
2021-01-13 16:44:15 +01:00
committed by link2xt
parent 662735c233
commit e077ee9238
2 changed files with 33 additions and 36 deletions

View File

@@ -756,7 +756,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
let old_name = self.msg.param.get(Param::Arg).unwrap_or_default();
protected_headers.push(Header::new(
"Chat-Group-Name-Changed".into(),
maybe_encode_words(old_name.into()),
maybe_encode_words(old_name),
));
}
SystemMessage::GroupImageChanged => {