fix chat-verified

This commit is contained in:
dignifiedquire
2019-12-02 00:11:11 +01:00
parent e985887739
commit 1e7afa9da0
4 changed files with 13 additions and 6 deletions

View File

@@ -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 {