mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
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.
This commit is contained in:
@@ -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.
|
* @param msg The message to save as a draft.
|
||||||
* Existing draft will be overwritten.
|
* Existing draft will be overwritten.
|
||||||
* NULL deletes the existing draft, if any, without sending it.
|
* 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);
|
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.
|
* Create a new group chat.
|
||||||
*
|
*
|
||||||
* After creation,
|
* 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
|
* the group has one member with the ID DC_CONTACT_ID_SELF
|
||||||
* and is in _unpromoted_ state.
|
* and is in _unpromoted_ state.
|
||||||
* This means, you can add or remove members, change the name,
|
* This means, you can add or remove members, change the name,
|
||||||
|
|||||||
Reference in New Issue
Block a user