From 7bd1429f4fcfa282ee4c75239d889c67e3c71ebb Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Fri, 24 Apr 2026 00:50:04 +0200 Subject: [PATCH] docs: add hint about how to reset an invitation --- deltachat-ffi/deltachat.h | 2 ++ deltachat-jsonrpc/src/api.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index cb2caa5f3..7920408b2 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -2641,6 +2641,8 @@ dc_lot_t* dc_check_qr (dc_context_t* context, const char* * so that the QR code is useful also without Delta Chat being installed * or can be passed to contacts through other channels. * + * To reset invitations, pass the link to dc_set_config_from_qr(). + * * @memberof dc_context_t * @param context The context object. * @param chat_id If set to a group-chat-id, diff --git a/deltachat-jsonrpc/src/api.rs b/deltachat-jsonrpc/src/api.rs index dc4842fc7..9c86751f9 100644 --- a/deltachat-jsonrpc/src/api.rs +++ b/deltachat-jsonrpc/src/api.rs @@ -883,6 +883,8 @@ impl CommandApi { /// Get QR code text that will offer a [SecureJoin](https://securejoin.delta.chat/) invitation. /// + /// To reset invitations, pass the link to `set_config_from_qr()``. + /// /// If `chat_id` is a group chat ID, SecureJoin QR code for the group is returned. /// If `chat_id` is unset, setup contact QR code is returned. async fn get_chat_securejoin_qr_code(