s/forgeting/forgetting/

This commit is contained in:
link2xt
2024-01-30 00:17:34 +00:00
committed by bjoern
parent ea666f1098
commit af7bf5bd2b
3 changed files with 3 additions and 3 deletions

View File

@@ -3159,7 +3159,7 @@ void dc_accounts_maybe_network_lost (dc_accounts_t* accounts);
*
* The `DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE` event is emitted at the end,
* process all events until you get this one and you can safely return to the background
* without forgeting to create notifications caused by timing race conditions.
* without forgetting to create notifications caused by timing race conditions.
*
* @memberof dc_accounts_t
* @param timeout The timeout in seconds

View File

@@ -235,7 +235,7 @@ impl CommandApi {
///
/// The `AccountsBackgroundFetchDone` event is emitted at the end,
/// process all events until you get this one and you can safely return to the background
/// without forgeting to create notifications caused by timing race conditions.
/// without forgetting to create notifications caused by timing race conditions.
async fn accounts_background_fetch(&self, timeout_in_seconds: f64) -> Result<()> {
self.accounts
.write()

View File

@@ -316,7 +316,7 @@ impl Accounts {
///
/// The `AccountsBackgroundFetchDone` event is emitted at the end,
/// process all events until you get this one and you can safely return to the background
/// without forgeting to create notifications caused by timing race conditions.
/// without forgetting to create notifications caused by timing race conditions.
pub async fn background_fetch(&self, timeout: std::time::Duration) -> Result<()> {
let result = tokio::time::timeout(timeout, self.background_fetch_without_timeout()).await;
self.emit_event(EventType::AccountsBackgroundFetchDone);