mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 10:26:29 +03:00
Return bool from add_contact_to_chat_ex
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user