mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-16 12:12:06 +01:00
Fix PrivateDataResult.getChildElementXML()
that method never worked correctly since 11 years, ie. the PrivateData was never added as element text. It's not surprisingly that this was not discovered in more then a decade, since Smack usually never *sends* those stanza but only receives them. But that's no reason to not fix it. :)
This commit is contained in:
parent
298822eaef
commit
2ce7656180
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ public class PrivateDataManager extends Manager {
|
||||||
StringBuilder buf = new StringBuilder();
|
StringBuilder buf = new StringBuilder();
|
||||||
buf.append("<query xmlns=\"jabber:iq:private\">");
|
buf.append("<query xmlns=\"jabber:iq:private\">");
|
||||||
if (privateData != null) {
|
if (privateData != null) {
|
||||||
privateData.toXML();
|
buf.append(privateData.toXML());
|
||||||
}
|
}
|
||||||
buf.append("</query>");
|
buf.append("</query>");
|
||||||
return buf.toString();
|
return buf.toString();
|
||||||
|
|
Loading…
Reference in a new issue