From 06955cf5a9e9366f2f5974438181e47d80cd9788 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 22 Oct 2024 15:35:31 +0200 Subject: [PATCH] deprecate old qr-svg methods --- deltachat-ffi/deltachat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 0f28235f2..fa87e0329 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -2611,6 +2611,7 @@ char* dc_get_securejoin_qr (dc_context_t* context, uint32_t ch * Get QR code image from the QR code text generated by dc_get_securejoin_qr(). * See dc_get_securejoin_qr() for details about the contained QR code. * + * @deprecated 2024-10 use dc_create_qr_svg(dc_get_securejoin_qr()) instead. * @memberof dc_context_t * @param context The context object. * @param chat_id group-chat-id for secure-join or 0 for setup-contact, @@ -2895,6 +2896,7 @@ char* dc_backup_provider_get_qr (const dc_backup_provider_t* backup_provider); * This works like dc_backup_provider_qr() but returns the text of a rendered * SVG image containing the QR code. * + * @deprecated 2024-10 use dc_create_qr_svg(dc_backup_provider_get_qr()) instead. * @memberof dc_backup_provider_t * @param backup_provider The backup provider object as created by * dc_backup_provider_new(). @@ -2934,7 +2936,7 @@ void dc_backup_provider_unref (dc_backup_provider_t* backup_provider); * Gets a backup offered by a dc_backup_provider_t object on another device. * * This function is called on a device that scanned the QR code offered by - * dc_backup_sender_qr() or dc_backup_sender_qr_svg(). Typically this is a + * dc_backup_provider_get_qr(). Typically this is a * different device than that which provides the backup. * * This call will block while the backup is being transferred and only