mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
use split off image recoding function for avatars
This commit is contained in:
@@ -2609,7 +2609,7 @@ pub async fn set_chat_profile_image(
|
||||
_ => Err(err),
|
||||
},
|
||||
}?;
|
||||
image_blob.recode_to_avatar_size(context)?;
|
||||
image_blob.recode_to_avatar_size(context).await?;
|
||||
chat.param.set(Param::ProfileImage, image_blob.as_name());
|
||||
msg.param.set(Param::Arg, image_blob.as_name());
|
||||
msg.text = Some(
|
||||
|
||||
Reference in New Issue
Block a user