@@ -558,6 +558,7 @@ pub unsafe extern "C" fn dc_event_get_id(event: *mut dc_event_t) -> libc::c_int
558
558
EventType :: SelfavatarChanged => 2110 ,
559
559
EventType :: WebxdcStatusUpdate { .. } => 2120 ,
560
560
EventType :: WebxdcInstanceDeleted { .. } => 2121 ,
561
+ EventType :: BackgroundFetchCompletedForAllAccounts => 2200 ,
561
562
}
562
563
}
563
564
@@ -584,7 +585,8 @@ pub unsafe extern "C" fn dc_event_get_data1_int(event: *mut dc_event_t) -> libc:
584
585
| EventType :: ConnectivityChanged
585
586
| EventType :: SelfavatarChanged
586
587
| EventType :: IncomingMsgBunch { .. }
587
- | EventType :: ErrorSelfNotInGroup ( _) => 0 ,
588
+ | EventType :: ErrorSelfNotInGroup ( _)
589
+ | EventType :: BackgroundFetchCompletedForAllAccounts => 0 ,
588
590
EventType :: MsgsChanged { chat_id, .. }
589
591
| EventType :: ReactionsChanged { chat_id, .. }
590
592
| EventType :: IncomingMsg { chat_id, .. }
@@ -643,7 +645,8 @@ pub unsafe extern "C" fn dc_event_get_data2_int(event: *mut dc_event_t) -> libc:
643
645
| EventType :: ConnectivityChanged
644
646
| EventType :: WebxdcInstanceDeleted { .. }
645
647
| EventType :: IncomingMsgBunch { .. }
646
- | EventType :: SelfavatarChanged => 0 ,
648
+ | EventType :: SelfavatarChanged
649
+ | EventType :: BackgroundFetchCompletedForAllAccounts => 0 ,
647
650
EventType :: ChatModified ( _) => 0 ,
648
651
EventType :: MsgsChanged { msg_id, .. }
649
652
| EventType :: ReactionsChanged { msg_id, .. }
@@ -705,6 +708,7 @@ pub unsafe extern "C" fn dc_event_get_data2_str(event: *mut dc_event_t) -> *mut
705
708
| EventType :: SelfavatarChanged
706
709
| EventType :: WebxdcStatusUpdate { .. }
707
710
| EventType :: WebxdcInstanceDeleted { .. }
711
+ | EventType :: BackgroundFetchCompletedForAllAccounts
708
712
| EventType :: ChatEphemeralTimerModified { .. } => ptr:: null_mut ( ) ,
709
713
EventType :: ConfigureProgress { comment, .. } => {
710
714
if let Some ( comment) = comment {
0 commit comments