mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +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();
|
||||
buf.append("<query xmlns=\"jabber:iq:private\">");
|
||||
if (privateData != null) {
|
||||
privateData.toXML();
|
||||
buf.append(privateData.toXML());
|
||||
}
|
||||
buf.append("</query>");
|
||||
return buf.toString();
|
||||
|
|
Loading…
Reference in a new issue