mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
api: remove unused dc_accounts_all_work_done() (#5384)
it was used by iOS to know when a background fetch was complete; meanwhile the superiour `dc_accounts_background_fetch()` is used for that. there is still the corresponding context function `dc_all_work_done()`, this not used by any UI as well, however, it is in use by a python tests. not sure, what to do with it, at a first glance, the test still seems useful.
This commit is contained in:
@@ -170,7 +170,7 @@ impl ConnectivityStore {
|
||||
}
|
||||
|
||||
/// Set all folder states to InterruptingIdle in case they were `Connected` before.
|
||||
/// Called during `dc_maybe_network()` to make sure that `dc_accounts_all_work_done()`
|
||||
/// Called during `dc_maybe_network()` to make sure that `dc_all_work_done()`
|
||||
/// returns false immediately after `dc_maybe_network()`.
|
||||
pub(crate) async fn idle_interrupted(inbox: ConnectivityStore, oboxes: Vec<ConnectivityStore>) {
|
||||
let mut connectivity_lock = inbox.0.lock().await;
|
||||
|
||||
Reference in New Issue
Block a user