mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
target comments of @link2xt, fix ci
This commit is contained in:
committed by
Alexander Krotov
parent
9f19d20344
commit
be0afdebfd
@@ -1058,7 +1058,7 @@ pub unsafe extern "C" fn dc_estimate_deletion_cnt(
|
||||
let ffi_context = &*context;
|
||||
ffi_context
|
||||
.with_inner(|ctx| {
|
||||
message::estimate_deletion_cnt(ctx, from_server as bool, seconds).unwrap_or(0)
|
||||
message::estimate_deletion_cnt(ctx, from_server != 0, seconds).unwrap_or(0)
|
||||
as libc::c_int
|
||||
})
|
||||
.unwrap_or(0)
|
||||
|
||||
Reference in New Issue
Block a user