mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
Return Vec from get_all_blocked
And never return nullptr from dc_get_blocked_contacts.
This commit is contained in:
committed by
holger krekel
parent
9cf6ca045c
commit
88a81f5737
@@ -837,7 +837,7 @@ pub unsafe extern "C" fn dc_get_blocked_contacts(
|
||||
assert!(!context.is_null());
|
||||
let context = &*context;
|
||||
|
||||
Contact::get_all_blocked(context)
|
||||
dc_array_t::from(Contact::get_all_blocked(context)).into_raw()
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
||||
Reference in New Issue
Block a user