fix: Show only one member-added message for Bob

This commit is contained in:
Hocuri
2025-08-07 23:17:39 +02:00
parent 8d89dcc65f
commit 265ac4e30b
7 changed files with 45 additions and 28 deletions

View File

@@ -129,7 +129,9 @@ pub(crate) async fn get_chat_list_item_by_id(
let chat_contacts = get_chat_contacts(ctx, chat_id).await?;
let self_in_group = chat_contacts.contains(&ContactId::SELF);
let self_in_group = chat_contacts.contains(&ContactId::SELF)
|| chat.get_type() == Chattype::OutBroadcast
|| chat.get_type() == Chattype::Mailinglist;
let (dm_chat_contact, was_seen_recently) = if chat.get_type() == Chattype::Single {
let contact = chat_contacts.first();