fix chat deletion

This commit is contained in:
dignifiedquire
2019-07-14 16:42:27 +02:00
parent 127e2193af
commit 6e73b3728d
2 changed files with 13 additions and 13 deletions

View File

@@ -470,7 +470,8 @@ pub unsafe extern "C" fn dc_delete_chat(context: *mut dc_context_t, chat_id: u32
assert!(!context.is_null());
let context = &*context;
dc_chat::dc_delete_chat(context, chat_id)
// TODO: update to indiciate public api success/failure of deletion
dc_chat::dc_delete_chat(context, chat_id);
}
#[no_mangle]