From da546d35267a034816ec14a5f27b6b227b02ba7d Mon Sep 17 00:00:00 2001 From: bjoern Date: Thu, 28 Nov 2024 08:19:48 +0100 Subject: [PATCH] docs: update dc_msg_get_info_type() and dc_get_securejoin_qr() (#6269) this was partly missing at https://github.com/deltachat/deltachat-core-rust/pull/6223 this is not meant as being exhaustive :) --------- Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com> --- deltachat-ffi/deltachat.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index eaa910a825..2a360a0b4b 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -2597,13 +2597,15 @@ dc_lot_t* dc_check_qr (dc_context_t* context, const char* /** * Get QR code text that will offer an Setup-Contact or Verified-Group invitation. - * The QR code is compatible to the OPENPGP4FPR format - * so that a basic fingerprint comparison also works e.g. with OpenKeychain. * * The scanning device will pass the scanned content to dc_check_qr() then; * if dc_check_qr() returns DC_QR_ASK_VERIFYCONTACT or DC_QR_ASK_VERIFYGROUP * an out-of-band-verification can be joined using dc_join_securejoin() * + * The returned text will also work as a normal https:-link, + * so that the QR code is useful also without Delta Chat being installed + * or can be passed to contacts through other channels. + * * @memberof dc_context_t * @param context The context object. * @param chat_id If set to a group-chat-id, @@ -4492,6 +4494,7 @@ int dc_msg_is_info (const dc_msg_t* msg); * - DC_INFO_INVALID_UNENCRYPTED_MAIL (13) - Info-message for "Provider requires end-to-end encryption which is not setup yet", * the UI should change the corresponding string using #DC_STR_INVALID_UNENCRYPTED_MAIL * and also offer a way to fix the encryption, eg. by a button offering a QR scan + * - DC_INFO_WEBXDC_INFO_MESSAGE (32) - Info-message created by webxdc app sending `update.info` * * Even when you display an icon, * you should still display the text of the informational message using dc_msg_get_text()