mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
Remove AvatarAction::None
Where needed, Option<AvatarAction> can be used to extend it.
This commit is contained in:
@@ -1001,7 +1001,6 @@ pub fn set_profile_image(
|
||||
contact.param.remove(Param::ProfileImage);
|
||||
true
|
||||
}
|
||||
AvatarAction::None => false,
|
||||
};
|
||||
if changed {
|
||||
contact.update_param(context)?;
|
||||
|
||||
Reference in New Issue
Block a user