From 41f03ff60dc4c60a57e6f0b9ef3da852f448ff90 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Mon, 22 Dec 2025 12:46:14 +0100 Subject: [PATCH] feat: add transports event to ffi --- deltachat-ffi/deltachat.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index b540cc5339..76c26cfaad 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -6702,6 +6702,16 @@ void dc_event_unref(dc_event_t* event); */ #define DC_EVENT_CALL_ENDED 2580 +/** + * Transport relay added/deleted or default has changed. + * UI should update the list. + * + * The event is emitted when the transports are modified on this or on another device + * using the jsonrpc calls `add_or_update_transport`, `add_transport_from_qr`, `delete_transport` + * or `set_config(configured_addr)`. + */ +#define DC_EVENT_TRANSPORTS_MODIFIED 2600 + /** * @}