@@ -559,6 +559,7 @@ pub unsafe extern "C" fn dc_event_get_id(event: *mut dc_event_t) -> libc::c_int
559559 EventType :: IncomingCallAccepted { .. } => 2560 ,
560560 EventType :: OutgoingCallAccepted { .. } => 2570 ,
561561 EventType :: CallEnded { .. } => 2580 ,
562+ EventType :: TransportsModified => 2600 ,
562563 #[ allow( unreachable_patterns) ]
563564 #[ cfg( test) ]
564565 _ => unreachable ! ( "This is just to silence a rust_analyzer false-positive" ) ,
@@ -593,7 +594,8 @@ pub unsafe extern "C" fn dc_event_get_data1_int(event: *mut dc_event_t) -> libc:
593594 | EventType :: AccountsBackgroundFetchDone
594595 | EventType :: ChatlistChanged
595596 | EventType :: AccountsChanged
596- | EventType :: AccountsItemChanged => 0 ,
597+ | EventType :: AccountsItemChanged
598+ | EventType :: TransportsModified => 0 ,
597599 EventType :: IncomingReaction { contact_id, .. }
598600 | EventType :: IncomingWebxdcNotify { contact_id, .. } => contact_id. to_u32 ( ) as libc:: c_int ,
599601 EventType :: MsgsChanged { chat_id, .. }
@@ -681,7 +683,8 @@ pub unsafe extern "C" fn dc_event_get_data2_int(event: *mut dc_event_t) -> libc:
681683 | EventType :: IncomingCallAccepted { .. }
682684 | EventType :: OutgoingCallAccepted { .. }
683685 | EventType :: CallEnded { .. }
684- | EventType :: EventChannelOverflow { .. } => 0 ,
686+ | EventType :: EventChannelOverflow { .. }
687+ | EventType :: TransportsModified => 0 ,
685688 EventType :: MsgsChanged { msg_id, .. }
686689 | EventType :: ReactionsChanged { msg_id, .. }
687690 | EventType :: IncomingReaction { msg_id, .. }
@@ -780,7 +783,8 @@ pub unsafe extern "C" fn dc_event_get_data2_str(event: *mut dc_event_t) -> *mut
780783 | EventType :: AccountsChanged
781784 | EventType :: AccountsItemChanged
782785 | EventType :: IncomingCallAccepted { .. }
783- | EventType :: WebxdcRealtimeAdvertisementReceived { .. } => ptr:: null_mut ( ) ,
786+ | EventType :: WebxdcRealtimeAdvertisementReceived { .. }
787+ | EventType :: TransportsModified => ptr:: null_mut ( ) ,
784788 EventType :: IncomingCall {
785789 place_call_info, ..
786790 } => {
0 commit comments