mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
fix chat-verified
This commit is contained in:
@@ -458,7 +458,7 @@ impl Message {
|
||||
};
|
||||
|
||||
let contact = if self.from_id != DC_CONTACT_ID_SELF as libc::c_uint
|
||||
&& ((*chat).typ == Chattype::Group || (*chat).typ == Chattype::VerifiedGroup)
|
||||
&& (chat.typ == Chattype::Group || chat.typ == Chattype::VerifiedGroup)
|
||||
{
|
||||
Contact::get_by_id(context, self.from_id).ok()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user