Fix panic in dc_set_chat_profile_image because of missing

ok_to_continue=false
This commit is contained in:
jikstra
2019-08-14 19:12:11 +02:00
committed by holger krekel
parent 712f5a9782
commit d4bd9187d6

View File

@@ -1882,6 +1882,8 @@ pub unsafe fn dc_set_chat_profile_image(
if !dc_make_rel_and_copy(context, &mut new_image_rel) {
OK_TO_CONTINUE = false;
}
} else {
OK_TO_CONTINUE = false;
}
if OK_TO_CONTINUE {
(*chat)