summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_thread.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 8a9d408fc6..78d696d6f4 100755
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1570,9 +1570,8 @@ void CJabberProto::OnProcessPresence(const TiXmlElement *node, ThreadData *info)
}
hContact = DBCreateContact(from, nick, true, true);
}
- if (hContact && m_bUseOMEMO)
- {
- char szBareJid[JABBER_MAX_JID_LEN];
+
+ if (hContact && m_bUseOMEMO) {
XmlNodeIq iq("get", SerialNext());
iq << XATTR("from", m_ThreadInfo->fullJID);
iq << XATTR("to", from);