diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-23 18:30:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-23 18:30:14 +0300 |
commit | 1929e49d4407f275e470d2fe8cffb9b9d84ff010 (patch) | |
tree | 7ce08dc866eb8e7b53cdd828a36341d4703f9fda | |
parent | 0859890fad590ab9be7ec10e594fe17927a7b3f8 (diff) |
Jabber: fix for sudden protocol disconnection when Miranda receives inconsistent stanza
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 3246229ff4..dc24c999bc 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1954,7 +1954,7 @@ void CJabberProto::OnProcessIq(HXML node) }
}
else if ((!mir_wstrcmp(type, L"get") || !mir_wstrcmp(type, L"set"))) {
- XmlNodeIq iq(L"error", id, XmlGetAttrValue(node, L"from"));
+ XmlNodeIq iq(L"error", XmlGetAttrValue(node, L"id"), XmlGetAttrValue(node, L"from"));
HXML pFirstChild = XmlGetChild(node, 0);
if (pFirstChild)
|