share group image on group creation, fixes #602

This commit is contained in:
B. Petersen
2019-12-10 23:35:37 +01:00
committed by holger krekel
parent ab12a4eb39
commit ff29b84146
3 changed files with 19 additions and 0 deletions

View File

@@ -332,6 +332,15 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
_ => {}
}
if self
.msg
.param
.get_bool(Param::AttachGroupImage)
.unwrap_or_default()
{
return chat.param.get(Param::ProfileImage).map(Into::into);
}
None
}
Loaded::MDN => None,