Merge remote-tracking branch 'origin/master' into iroh-share

This commit is contained in:
dignifiedquire
2022-12-02 16:51:41 +01:00
43 changed files with 1155 additions and 892 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "deltachat_ffi"
version = "1.101.0"
version = "1.102.0"
description = "Deltachat FFI"
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
edition = "2018"

View File

@@ -1660,7 +1660,7 @@ pub unsafe extern "C" fn dc_set_chat_profile_image(
let ctx = &*context;
block_on(async move {
chat::set_chat_profile_image(ctx, ChatId::new(chat_id), to_string_lossy(image))
chat::set_chat_profile_image(ctx, ChatId::new(chat_id), &to_string_lossy(image))
.await
.map(|_| 1)
.unwrap_or_log_default(ctx, "Failed to set profile image")