From d5ed801570c6a6ed01c31f8a6e42c379d5c91cc5 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 6 Mar 2017 08:49:25 +0300 Subject: omemo: working on 4.3 --- protocols/JabberG/src/jabber_iqid.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols/JabberG/src/jabber_iqid.cpp') diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index df2fd4cf42..087ce675a4 100755 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -206,6 +206,13 @@ void CJabberProto::OnLoggedIn() setString("LastLoggedServer", m_ThreadInfo->conn.server); m_pepServices.ResetPublishAll(); + + //is it correct place ? + if (m_options.UseOMEMO) + { + OmemoAnnounceDevice(); + OmemoSendBundle(); + } } void CJabberProto::OnIqResultGetAuth(HXML iqNode, CJabberIqInfo*) -- cgit v1.2.3