mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46:30 +03:00
remove superflous expression values
This commit is contained in:
@@ -241,11 +241,9 @@ pub fn dc_receive_imf(
|
|||||||
match contact::set_profile_image(&context, from_id, mime_parser.user_avatar) {
|
match contact::set_profile_image(&context, from_id, mime_parser.user_avatar) {
|
||||||
Ok(()) => {
|
Ok(()) => {
|
||||||
context.call_cb(Event::ChatModified(chat_id));
|
context.call_cb(Event::ChatModified(chat_id));
|
||||||
true
|
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
warn!(context, "reveive_imf cannot update profile image: {}", err);
|
warn!(context, "reveive_imf cannot update profile image: {}", err);
|
||||||
false
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user