diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 26238225a..67fec00cf 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -4294,7 +4294,7 @@ dc_lot_t* dc_msg_get_summary (const dc_msg_t* msg, const dc_cha * @param msg The message object. * @param approx_characters A rough length of the expected string. * values <=0 skip truncation. - * @return A summary for the given messages. + * @return A summary for the given message. * The returned string must be released using dc_str_unref(). * Returns an empty string on errors, never returns NULL. */ @@ -4307,7 +4307,7 @@ char* dc_msg_get_summarytext (const dc_msg_t* msg, int approx_c * * @memberof dc_msg_t * @param msg The message object. - * @return A summary for the given messages. + * @return A summary for the given message. * The returned string must be released using dc_str_unref(). * Returns an empty string on errors, never returns NULL. */ diff --git a/src/summary.rs b/src/summary.rs index ef0dc3952..e856c9b2a 100644 --- a/src/summary.rs +++ b/src/summary.rs @@ -149,7 +149,7 @@ impl Message { } /// Returns a summary text with emoji prefixes but without "Forwarded:" prefix. - /// Used for shorter reaction summaries as "USER reactes 👋 to SUMMARY" + /// Used for shorter reaction summaries as "USER reacts 👋 to SUMMARY" async fn get_summary_text_without_prefix(&self, context: &Context) -> String { let approx_chars = 0; let with_forwarded = false;