diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e8a1b674..5212242f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ - order contact lists by "last seen"; this affects `dc_get_chat_contacts()`, `dc_get_contacts()` and `dc_get_blocked_contacts()` #3562 - add `internet_access` flag to `dc_msg_get_webxdc_info()` #3516 +- `DC_EVENT_WEBXDC_INSTANCE_DELETED` is emitted when a message containing a webxdc gets deleted #3105 ### Fixes - do not emit notifications for blocked chats #3557 diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 68b3f5d10..e020f210d 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -5724,7 +5724,15 @@ void dc_event_unref(dc_event_t* event); * @param data1 (int) msg_id * @param data2 (int) status_update_serial - must not be used by UI implementations. */ -#define DC_EVENT_WEBXDC_STATUS_UPDATE 2120 +#define DC_EVENT_WEBXDC_STATUS_UPDATE 2120 + +/** + * Message deleted which contained a webxdc instance. + * + * @param data1 (int) msg_id + */ + +#define DC_EVENT_WEBXDC_INSTANCE_DELETED 2120 /**