From 119f3ec9f2abc3591d5578586238629b6682951e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kl=C3=A4hn?= Date: Sun, 18 Sep 2022 13:00:38 +0200 Subject: [PATCH] change event id --- deltachat-ffi/deltachat.h | 13 +++---------- deltachat-ffi/src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 7dad2cb38..8f253a660 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -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) is_sending */ -#define DC_EVENT_WEBXDC_BUSY_UPDATING 2122 - - -/** - * Webxdc has finished sending updates - * - * @param data1 (int) msg_id - */ -#define DC_EVENT_WEBXDC_UP_TO_DATE 2123 +#define DC_EVENT_WEBXDC_UPDATE_STATE_CHANGED 2017 /** * @} diff --git a/deltachat-ffi/src/lib.rs b/deltachat-ffi/src/lib.rs index ff6b00d4a..62a650f9c 100644 --- a/deltachat-ffi/src/lib.rs +++ b/deltachat-ffi/src/lib.rs @@ -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::WebxdcStatusUpdate { .. } => 2120, EventType::WebxdcInstanceDeleted { .. } => 2121, - EventType::WebxdcUpdateStateChanged { .. } => 2022, + EventType::WebxdcUpdateStateChanged { .. } => 2017, } }