summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iqid.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-03-06 08:49:25 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-03-06 08:50:03 +0300
commitd5ed801570c6a6ed01c31f8a6e42c379d5c91cc5 (patch)
treef7340eaa8ac190774a8164401809767f7d7362c3 /protocols/JabberG/src/jabber_iqid.cpp
parentb9b47617b1695d6eb1a739fd4c4259d58d5bbb8f (diff)
omemo: working on 4.3
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_iqid.cpp7
1 files changed, 7 insertions, 0 deletions
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*)