From 14d3913fe7e41d56d6d6fd18711ef95e2e72ab85 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Dec 2023 19:27:39 +0300 Subject: Jabber: fix for missing 'from' attribute in vcard --- protocols/JabberG/src/jabber_iqid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index e41da8181e..fb83d3fafd 100644 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -632,7 +632,7 @@ void CJabberProto::OnIqResultGetVcard(const TiXmlElement *iqNode, CJabberIqInfo* const char *type, *jid; if ((type = XmlGetAttr(iqNode, "type")) == nullptr) return; - if ((jid = XmlGetAttr(iqNode, "from")) == nullptr) return; + if ((jid = XmlGetAttr(iqNode, "from")) == nullptr) jid = m_szJabberJID; int id = JabberGetPacketID(iqNode); if (id == m_nJabberSearchID) { -- cgit v1.2.3