From de95c6e27eb90e81e1fd0fb1c07ff27786d236b5 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sun, 17 Nov 2024 00:05:56 +0100 Subject: [PATCH] DC_EVENT_INCOMING_WEBXDC_INFO: text is in message already --- deltachat-ffi/deltachat.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index d1c03a724..548b21d8a 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -6089,10 +6089,9 @@ void dc_event_unref(dc_event_t* event); * A webxdc added an info message that should be notified. * * @param data1 0 - * @param data2 (int) info_msg_id + (char*) info text to notify. - * ID of the info message added in dc_event_get_data2_int(), - * and the text to notify in dc_event_get_data2_str(). - * string must be passed to dc_str_unref() afterwards. + * @param data2 (int) info_msg_id - + * ID of the info message added in dc_event_get_data2_int(). + * Use dc_msg_get_text() to get the text to notify. * Use dc_msg_get_parent() to get the webxdc instance the notification belongs to. */ #define DC_EVENT_INCOMING_WEBXDC_INFO 2003