mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
Prepare for android builds (#88)
* upgrade ci * fixup * update ci script * Update run.sh * refactor(time): drop libc time functions * fix(ffi): use i64 instead off time_t * fix(ci): install croos * fix: remove unused dc_check_password * fix(ffi): enable ssl vendoring by default * chore: remove unused import * fix(deps): add vendored flag for reqwest * chore(ci): use cross fork * fix: handle invalid server configurations Closes #90 * Disable android from circle ci for now
This commit is contained in:
committed by
Lars-Magnus Skog
parent
2a5d0c64d5
commit
0d51c7dd2e
@@ -603,8 +603,8 @@ pub unsafe fn dc_e2ee_decrypt(
|
||||
let orig_date: *mut mailimf_orig_date = (*field).fld_data.fld_orig_date;
|
||||
if !orig_date.is_null() {
|
||||
message_time = dc_timestamp_from_date((*orig_date).dt_date_time);
|
||||
if message_time != -1 && message_time > time(0 as *mut time_t) {
|
||||
message_time = time(0 as *mut time_t)
|
||||
if message_time != 0 && message_time > time() {
|
||||
message_time = time()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -699,7 +699,7 @@ pub unsafe fn dc_e2ee_decrypt(
|
||||
|
||||
unsafe fn update_gossip_peerstates(
|
||||
context: &Context,
|
||||
message_time: time_t,
|
||||
message_time: i64,
|
||||
imffields: *mut mailimf_fields,
|
||||
gossip_headers: *const mailimf_fields,
|
||||
) -> HashSet<String> {
|
||||
|
||||
Reference in New Issue
Block a user