diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-03-21 17:36:58 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-03-21 17:38:16 +0300 |
commit | 61d7b63b8aafd5315de4933ffd56db6b4c94042a (patch) | |
tree | f4ccc6bf2b77ebf08ad995555e0079d34672ccc8 /protocols/JabberG/src/jabber_iqid.cpp | |
parent | 3dd1a999c9e643fd92fd34301d9e65a7f07d8c54 (diff) |
omemo: working on 4.3
createnode fixes
typo fixes
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_iqid.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index e04c453978..d9cd46f0c3 100755 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -207,9 +207,15 @@ void CJabberProto::OnLoggedIn() setString("LastLoggedServer", m_ThreadInfo->conn.server);
m_pepServices.ResetPublishAll();
- //is it correct place ?
if (m_options.UseOMEMO)
+ {
+ if (m_PubsubServiceName) // this is required if login server is changed only
+ {
+ mir_free(m_PubsubServiceName);
+ m_PubsubServiceName = nullptr;
+ }
OmemoCreateNodes();
+ }
}
void CJabberProto::OnIqResultGetAuth(HXML iqNode, CJabberIqInfo*)
|