Try reverting a possibly-unnecessary change

This commit is contained in:
Hocuri
2025-09-11 21:29:33 +02:00
parent 45bed57055
commit dfc969e3c0

View File

@@ -129,9 +129,7 @@ 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)
|| chat.get_type() == Chattype::OutBroadcast
|| chat.get_type() == Chattype::Mailinglist;
let self_in_group = chat_contacts.contains(&ContactId::SELF);
let (dm_chat_contact, was_seen_recently) = if chat.get_type() == Chattype::Single {
let contact = chat_contacts.first();