File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ impl CommandApi {
236
236
/// The `AccountsBackgroundFetchDone` event is emitted at the end,
237
237
/// process all events until you get this one and you can safely return to the background
238
238
/// without forgeting to create notifications caused by timing race conditions.
239
- async fn background_fetch_for_all_accounts ( & self , timeout_in_seconds : f64 ) -> Result < ( ) > {
239
+ async fn accounts_background_fetch ( & self , timeout_in_seconds : f64 ) -> Result < ( ) > {
240
240
self . accounts
241
241
. write ( )
242
242
. await
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module.exports = {
29
29
DC_DOWNLOAD_FAILURE : 20 ,
30
30
DC_DOWNLOAD_IN_PROGRESS : 1000 ,
31
31
DC_DOWNLOAD_UNDECIPHERABLE : 30 ,
32
- DC_EVENT_BACKGROUND_FETCH_COMPLETED_FOR_ALL_ACCOUNTS : 2200 ,
32
+ DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE : 2200 ,
33
33
DC_EVENT_CHAT_EPHEMERAL_TIMER_MODIFIED : 2021 ,
34
34
DC_EVENT_CHAT_MODIFIED : 2020 ,
35
35
DC_EVENT_CONFIGURE_PROGRESS : 2041 ,
Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ module.exports = {
37
37
2111 : 'DC_EVENT_CONFIG_SYNCED' ,
38
38
2120 : 'DC_EVENT_WEBXDC_STATUS_UPDATE' ,
39
39
2121 : 'DC_EVENT_WEBXDC_INSTANCE_DELETED' ,
40
- 2200 : 'DC_EVENT_BACKGROUND_FETCH_COMPLETED_FOR_ALL_ACCOUNTS '
40
+ 2200 : 'DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE '
41
41
}
You can’t perform that action at this time.
0 commit comments