Files
chatmail-core/deltachat-ffi
Hocuri 810dab12dc api: Add list_transports_ex() and set_transport_unpublished() functions
Closes https://github.com/chatmail/core/issues/7980.

Unpublished transports are not advertised to contacts, and self-sent messages are not sent there, so that we don't cause extra messages to the corresponding inbox, but can still receive messages from contacts who don't know the new relay addresses yet.

- This adds `list_transports_ex()` and `set_transport_unpublished()` JsonRPC functions
- By default, transports are published, but when updating, all existing transports except for the primary one become unpublished in order not to break existing users that followed https://delta.chat/legacy-move
- It is not possible to unpublish the primary transport, and setting a transport as primary automatically sets it to published

An alternative would be to change the existing list_transports API rather than adding a new one list_transports_ex. But to be honest, I don't mind the _ex prefix that much, and I am wary about compatibility issues. But maybe it would be fine; see b08ba4bb8 for how this would look.
2026-03-18 12:14:56 +01:00
..
2019-04-28 18:06:26 +03:00
2022-07-01 12:20:20 +02:00
2026-03-14 02:58:19 +00:00
2019-08-26 19:17:58 +02:00

Delta Chat C Interface

Installation

see Installing libdeltachat system wide in ../README.md

Documentation

To generate the C Interface documentation, call doxygen in the deltachat-ffi directory and browse the html subdirectory.

If thinks work, the documentation is also available online at https://c.delta.chat