mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
Use new XmlStringBuilder.append(Collection<? extends Element>) in MUCUser
This commit is contained in:
parent
f2703bc195
commit
1f38e4ca0d
1 changed files with 1 additions and 3 deletions
|
@ -63,9 +63,7 @@ public class MUCUser implements PacketExtension {
|
||||||
xml.optElement(getDecline());
|
xml.optElement(getDecline());
|
||||||
xml.optElement(getItem());
|
xml.optElement(getItem());
|
||||||
xml.optElement("password", getPassword());
|
xml.optElement("password", getPassword());
|
||||||
for (Status status : statusCodes) {
|
xml.append(statusCodes);
|
||||||
xml.element(status);
|
|
||||||
}
|
|
||||||
xml.optElement(getDestroy());
|
xml.optElement(getDestroy());
|
||||||
xml.closeElement(this);
|
xml.closeElement(this);
|
||||||
return xml;
|
return xml;
|
||||||
|
|
Loading…
Reference in a new issue