mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 02:46:29 +03:00
share group image on group creation, fixes #602
This commit is contained in:
committed by
holger krekel
parent
ab12a4eb39
commit
ff29b84146
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user