@@ -566,6 +566,7 @@ pub unsafe extern "C" fn dc_event_get_id(event: *mut dc_event_t) -> libc::c_int
566
566
EventType :: ConfigSynced { .. } => 2111 ,
567
567
EventType :: WebxdcStatusUpdate { .. } => 2120 ,
568
568
EventType :: WebxdcInstanceDeleted { .. } => 2121 ,
569
+ EventType :: WebxdcEphemeralStatusUpdate { .. } => 2150 ,
569
570
EventType :: AccountsBackgroundFetchDone => 2200 ,
570
571
}
571
572
}
@@ -618,8 +619,9 @@ pub unsafe extern "C" fn dc_event_get_data1_int(event: *mut dc_event_t) -> libc:
618
619
| EventType :: SecurejoinJoinerProgress { contact_id, .. } => {
619
620
contact_id. to_u32 ( ) as libc:: c_int
620
621
}
621
- EventType :: WebxdcStatusUpdate { msg_id, .. } => msg_id. to_u32 ( ) as libc:: c_int ,
622
- EventType :: WebxdcInstanceDeleted { msg_id, .. } => msg_id. to_u32 ( ) as libc:: c_int ,
622
+ EventType :: WebxdcEphemeralStatusUpdate { msg_id, .. }
623
+ | EventType :: WebxdcStatusUpdate { msg_id, .. }
624
+ | EventType :: WebxdcInstanceDeleted { msg_id, .. } => msg_id. to_u32 ( ) as libc:: c_int ,
623
625
}
624
626
}
625
627
@@ -653,7 +655,8 @@ pub unsafe extern "C" fn dc_event_get_data2_int(event: *mut dc_event_t) -> libc:
653
655
| EventType :: MsgsNoticed ( _)
654
656
| EventType :: ConnectivityChanged
655
657
| EventType :: WebxdcInstanceDeleted { .. }
656
- | EventType :: IncomingMsgBunch { .. }
658
+ | EventType :: WebxdcEphemeralStatusUpdate { .. } => 0 ,
659
+ EventType :: IncomingMsgBunch { .. }
657
660
| EventType :: SelfavatarChanged
658
661
| EventType :: AccountsBackgroundFetchDone
659
662
| EventType :: ConfigSynced { .. } => 0 ,
@@ -718,6 +721,7 @@ pub unsafe extern "C" fn dc_event_get_data2_str(event: *mut dc_event_t) -> *mut
718
721
| EventType :: SelfavatarChanged
719
722
| EventType :: WebxdcStatusUpdate { .. }
720
723
| EventType :: WebxdcInstanceDeleted { .. }
724
+ | EventType :: WebxdcEphemeralStatusUpdate { .. }
721
725
| EventType :: AccountsBackgroundFetchDone
722
726
| EventType :: ChatEphemeralTimerModified { .. }
723
727
| EventType :: IncomingMsgBunch { .. } => ptr:: null_mut ( ) ,
0 commit comments