From 90c87cac6ad51642d1dd9d9a2400450e667e1da7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 26 Mar 2022 15:41:27 +0300 Subject: =?UTF-8?q?fixes=20#3057=20(=D0=A3=D0=BD=D0=B8=D1=84=D0=B8=D1=86?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BD=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D1=83=20=D0=B3=D0=BE=D1=80=D1=8F?= =?UTF-8?q?=D1=87=D0=B8=D1=85=20=D0=BA=D0=BB=D0=B0=D0=B2=D0=B8=D1=88=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/JabberG/src/jabber_thread.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG') 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); -- cgit v1.2.3