Return bool from add_contact_to_chat_ex

This commit is contained in:
Alexander Krotov
2019-09-12 12:45:52 +03:00
parent 97edd23910
commit 0f67b16f29
3 changed files with 8 additions and 9 deletions

View File

@@ -848,7 +848,7 @@ pub unsafe extern "C" fn dc_add_contact_to_chat(
let context = &*context;
chat::add_contact_to_chat(context, chat_id, contact_id)
chat::add_contact_to_chat(context, chat_id, contact_id) as libc::c_int
}
#[no_mangle]