change event id

This commit is contained in:
Sebastian Klähn
2022-09-18 13:00:38 +02:00
committed by Septias
parent fd486ec36c
commit 119f3ec9f2
2 changed files with 4 additions and 11 deletions

View File

@@ -5851,19 +5851,12 @@ void dc_event_unref(dc_event_t* event);
/** /**
* Webxdc has some updates that need to be sent * Webxdc changed it's update sending state
* *
* @param data1 (int) msg_id * @param data1 (int) msg_id
* @param data1 (int) is_sending
*/ */
#define DC_EVENT_WEBXDC_BUSY_UPDATING 2122 #define DC_EVENT_WEBXDC_UPDATE_STATE_CHANGED 2017
/**
* Webxdc has finished sending updates
*
* @param data1 (int) msg_id
*/
#define DC_EVENT_WEBXDC_UP_TO_DATE 2123
/** /**
* @} * @}

View File

@@ -521,7 +521,7 @@ pub unsafe extern "C" fn dc_event_get_id(event: *mut dc_event_t) -> libc::c_int
EventType::SelfavatarChanged => 2110, EventType::SelfavatarChanged => 2110,
EventType::WebxdcStatusUpdate { .. } => 2120, EventType::WebxdcStatusUpdate { .. } => 2120,
EventType::WebxdcInstanceDeleted { .. } => 2121, EventType::WebxdcInstanceDeleted { .. } => 2121,
EventType::WebxdcUpdateStateChanged { .. } => 2022, EventType::WebxdcUpdateStateChanged { .. } => 2017,
} }
} }