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

@@ -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")