mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 22:46:29 +03:00
recode group- and user-avatar to 192x192 pixel
This commit is contained in:
committed by
holger krekel
parent
9fc556864e
commit
a5f949c4e2
@@ -1883,6 +1883,7 @@ pub fn set_chat_profile_image(
|
||||
_ => Err(err),
|
||||
},
|
||||
)?;
|
||||
image_blob.recode_to_avatar_size(context)?;
|
||||
chat.param.set(Param::ProfileImage, image_blob.as_name());
|
||||
msg.param.set(Param::Arg, image_blob.as_name());
|
||||
msg.text = Some(context.stock_system_msg(
|
||||
|
||||
Reference in New Issue
Block a user