DC_EVENT_INCOMING_WEBXDC_INFO: text is in message already

This commit is contained in:
B. Petersen
2024-11-17 00:05:56 +01:00
parent 331e3dc29a
commit de95c6e27e

View File

@@ -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