mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
remove DC_CHAT_TYPE_VERIFIED_GROUP resp. Chattype::VerifiedGroup
This commit is contained in:
@@ -362,9 +362,7 @@ impl Chatlist {
|
||||
let mut lastcontact = None;
|
||||
|
||||
let lastmsg = if let Ok(lastmsg) = Message::load_from_db(context, lastmsg_id).await {
|
||||
if lastmsg.from_id != DC_CONTACT_ID_SELF
|
||||
&& (chat.typ == Chattype::Group || chat.typ == Chattype::VerifiedGroup)
|
||||
{
|
||||
if lastmsg.from_id != DC_CONTACT_ID_SELF && chat.typ == Chattype::Group {
|
||||
lastcontact = Contact::load_from_db(context, lastmsg.from_id).await.ok();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user