diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-19 19:27:39 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-19 19:27:39 +0300 |
commit | 14d3913fe7e41d56d6d6fd18711ef95e2e72ab85 (patch) | |
tree | 4648922486c171c4c541dc8aac186eb529f76521 | |
parent | 510231f28a171ecc41151cb3e2a02f388ba02747 (diff) |
Jabber: fix for missing 'from' attribute in vcard
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) {
|