mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
Return Vec<dc_location> from dc_get_locations
This commit is contained in:
committed by
holger krekel
parent
d4dfc5443c
commit
37622af55a
@@ -1035,13 +1035,14 @@ pub unsafe extern "C" fn dc_get_locations(
|
||||
assert!(!context.is_null());
|
||||
let context = &*context;
|
||||
|
||||
dc_location::dc_get_locations(
|
||||
let res = dc_location::dc_get_locations(
|
||||
context,
|
||||
chat_id,
|
||||
contact_id,
|
||||
timestamp_begin as i64,
|
||||
timestamp_end as i64,
|
||||
)
|
||||
);
|
||||
dc_array_t::from(res).into_raw()
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
||||
Reference in New Issue
Block a user