mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
fix #1037 and simplify mdn-report related code and state
This commit is contained in:
committed by
Alexander Krotov
parent
8d3e536582
commit
4bacae3711
@@ -971,7 +971,7 @@ fn set_block_contact(context: &Context, contact_id: u32, new_blocking: bool) {
|
||||
pub fn set_profile_image(
|
||||
context: &Context,
|
||||
contact_id: u32,
|
||||
profile_image: AvatarAction,
|
||||
profile_image: &AvatarAction,
|
||||
) -> Result<()> {
|
||||
// the given profile image is expected to be already in the blob directory
|
||||
// as profile images can be set only by receiving messages, this should be always the case, however.
|
||||
|
||||
Reference in New Issue
Block a user