From df3fac4e5ed1d94c10c65b94f0551a12b2817c80 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Sat, 16 May 2020 18:01:00 +0200 Subject: [PATCH] Make clear that dc_set_chat_mute_duration() and dc_chat_is_muted() belong together. --- deltachat-ffi/deltachat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 338648311..c88aded79 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -1640,7 +1640,7 @@ int dc_set_chat_profile_image (dc_context_t* context, uint32_t ch /** * Set mute duration of a chat. * - * This value can be checked by the ui upon receiving a new message to decide whether it should trigger an notification. + * The ui can then call dc_chat_is_muted() when receiving a new message to decide whether it should trigger an notification. * * Sends out #DC_EVENT_CHAT_MODIFIED. * @@ -2978,7 +2978,7 @@ int dc_chat_is_sending_locations (const dc_chat_t* chat); /** - * Check whether the chat is currently muted + * Check whether the chat is currently muted (can be changed by dc_set_chat_mute_duration()). * * @memberof dc_chat_t * @param chat The chat object.