From 8150d61a086cdf72b5aadf585c05b7db5ce6b511 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 27 Mar 2018 04:28:35 +0300 Subject: protocols: jabber: omemo - fix possible crash on early session negotiation --- protocols/JabberG/src/jabber_proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_proto.h') diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index ab44f9f020..328192a811 100755 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -401,7 +401,7 @@ struct CJabberProto : public PROTO, public IJabberInterface //---- jabber_omemo.cpp -------------------------------------------------------------- - void OmemoHandleMessage(HXML node, wchar_t *jid, time_t msgTime); + bool OmemoHandleMessage(HXML node, wchar_t *jid, time_t msgTime); void OmemoPutMessageToOutgoingQueue(MCONTACT hContact, int, const char* pszSrc); void OmemoPutMessageToIncommingQueue(HXML node, const wchar_t *jid, time_t msgTime); void OmemoHandleMessageQueue(); -- cgit v1.2.3