From 3b6c3e10d7f64ae02d8ac49b034685f75008daf6 Mon Sep 17 00:00:00 2001 From: bjoern Date: Fri, 10 Dec 2021 16:33:02 +0100 Subject: [PATCH] update draft docs (#2886) * we no longer set a draft on group creation * remove probably outdated comment the comment was added at https://github.com/deltachat/deltachat-core/pull/457 where draft revamping was done half only and was probably forgotten to being removed later. at least, i cannot make any sense out of the comment. --- deltachat-ffi/deltachat.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 61d87cb7d..b68d8d7c4 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -966,8 +966,6 @@ uint32_t dc_send_videochat_invitation (dc_context_t* context, uint32_t chat_id); * @param msg The message to save as a draft. * Existing draft will be overwritten. * NULL deletes the existing draft, if any, without sending it. - * Currently, also non-text-messages - * will delete the existing drafts. */ void dc_set_draft (dc_context_t* context, uint32_t chat_id, dc_msg_t* msg); @@ -1383,7 +1381,6 @@ dc_chat_t* dc_get_chat (dc_context_t* context, uint32_t ch * Create a new group chat. * * After creation, - * the draft of the chat is set to a default text, * the group has one member with the ID DC_CONTACT_ID_SELF * and is in _unpromoted_ state. * This means, you can add or remove members, change the name,