typo fixes

This commit is contained in:
B. Petersen
2026-10-08 01:32:02 +02:00
parent be4b396b89
commit 60bf237fb6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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.
*/
+1 -1
View File
@@ -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;