mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Try reverting a possibly-unnecessary change
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user