fix: Message::get_summary() must not return reaction summary

This commit is contained in:
B. Petersen
2024-04-06 18:57:18 +02:00
committed by bjoern
parent 39abc8344c
commit b753440a68
2 changed files with 12 additions and 2 deletions

View File

@@ -416,7 +416,7 @@ impl Chatlist {
if chat.id.is_archived_link() {
Ok(Default::default())
} else if let Some(lastmsg) = lastmsg.filter(|msg| msg.from_id != ContactId::UNDEFINED) {
Summary::new(context, &lastmsg, chat, lastcontact.as_ref()).await
Summary::new_with_reaction_details(context, &lastmsg, chat, lastcontact.as_ref()).await
} else {
Ok(Summary {
text: stock_str::no_messages(context).await,