mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
Fix panic in dc_set_chat_profile_image because of missing
ok_to_continue=false
This commit is contained in:
@@ -1882,6 +1882,8 @@ pub unsafe fn dc_set_chat_profile_image(
|
|||||||
if !dc_make_rel_and_copy(context, &mut new_image_rel) {
|
if !dc_make_rel_and_copy(context, &mut new_image_rel) {
|
||||||
OK_TO_CONTINUE = false;
|
OK_TO_CONTINUE = false;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
OK_TO_CONTINUE = false;
|
||||||
}
|
}
|
||||||
if OK_TO_CONTINUE {
|
if OK_TO_CONTINUE {
|
||||||
(*chat)
|
(*chat)
|
||||||
|
|||||||
Reference in New Issue
Block a user