summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-03-26 15:41:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-03-26 15:41:27 +0300
commit90c87cac6ad51642d1dd9d9a2400450e667e1da7 (patch)
tree4cd32bab4504fdc183090bc4d4e5433735a61fe2 /protocols/JabberG
parent5a0b6ba945cbbf543a5b8c6169fc3b2ee03e740f (diff)
fixes #3057 (Унифицировать настройку горячих клавиш для отправки сообщений)
Diffstat (limited to 'protocols/JabberG')
-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);