diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 30f4137d68..1d946f6a90 100755 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -372,7 +372,7 @@ void CJabberProto::SendPresenceTo(int status, const char *to, const TiXmlElement p << XATTR("to", to);
if (extra)
- p.InsertEndChild(extra->DeepClone(&p)->ToElement());
+ p += extra;
// XEP-0115:Entity Capabilities
if (m_bAllowVersionRequests) {
|