Use new XmlStringBuilder.append(Collection<? extends Element>) in MUCUser
This commit is contained in:
parent
f2703bc195
commit
1f38e4ca0d
|
@ -63,9 +63,7 @@ public class MUCUser implements PacketExtension {
|
|||
xml.optElement(getDecline());
|
||||
xml.optElement(getItem());
|
||||
xml.optElement("password", getPassword());
|
||||
for (Status status : statusCodes) {
|
||||
xml.element(status);
|
||||
}
|
||||
xml.append(statusCodes);
|
||||
xml.optElement(getDestroy());
|
||||
xml.closeElement(this);
|
||||
return xml;
|
||||
|
|
Loading…
Reference in New Issue