mirror of
https://github.com/chatmail/core.git
synced 2026-05-23 00:36:32 +03:00
Hide background_fetch_without_timeout from public API
This commit is contained in:
@@ -4916,7 +4916,7 @@ pub unsafe extern "C" fn dc_accounts_background_fetch(
|
||||
block_on(async move {
|
||||
let accounts = accounts.read().await;
|
||||
match accounts
|
||||
.background_fetch_with_timeout(Duration::from_secs(timeout_in_seconds))
|
||||
.background_fetch(Duration::from_secs(timeout_in_seconds))
|
||||
.await
|
||||
{
|
||||
Ok(()) => 1,
|
||||
|
||||
Reference in New Issue
Block a user