From 529818b559ebda67b9b3766cc595aa94e8fd598a Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Sun, 9 May 2004 18:52:26 +0000 Subject: [PATCH] Fixed #getChildElementXML to include the node attribute. SMACK-133 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2305 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/packet/DiscoverInfo.java | 7 ++++++- source/org/jivesoftware/smackx/packet/DiscoverItems.java | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smackx/packet/DiscoverInfo.java b/source/org/jivesoftware/smackx/packet/DiscoverInfo.java index 303bc5ff1..0dd1f36af 100644 --- a/source/org/jivesoftware/smackx/packet/DiscoverInfo.java +++ b/source/org/jivesoftware/smackx/packet/DiscoverInfo.java @@ -161,7 +161,12 @@ public class DiscoverInfo extends IQ { public String getChildElementXML() { StringBuffer buf = new StringBuffer(); - buf.append(""); + buf.append(""); synchronized (identities) { for (int i = 0; i < identities.size(); i++) { Identity identity = (Identity) identities.get(i); diff --git a/source/org/jivesoftware/smackx/packet/DiscoverItems.java b/source/org/jivesoftware/smackx/packet/DiscoverItems.java index bd1e51da5..853d94b9d 100644 --- a/source/org/jivesoftware/smackx/packet/DiscoverItems.java +++ b/source/org/jivesoftware/smackx/packet/DiscoverItems.java @@ -120,7 +120,12 @@ public class DiscoverItems extends IQ { public String getChildElementXML() { StringBuffer buf = new StringBuffer(); - buf.append(""); + buf.append(""); synchronized (items) { for (int i = 0; i < items.size(); i++) { Item item = (Item) items.get(i);