mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-18 11:01:08 +01:00
Introduce XmlEnvironment
This commit is contained in:
parent
dc780ffd6c
commit
fee3ed81ca
229 changed files with 715 additions and 526 deletions
|
|
@ -95,7 +95,7 @@ public class AdHocCommandData extends IQ {
|
|||
}
|
||||
|
||||
if (form != null) {
|
||||
xml.append(form.toXML(null));
|
||||
xml.append(form.toXML());
|
||||
}
|
||||
|
||||
for (AdHocCommandNote note : notes) {
|
||||
|
|
@ -264,7 +264,7 @@ public class AdHocCommandData extends IQ {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String toXML(String enclosingNamespace) {
|
||||
public String toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append('<').append(getElementName());
|
||||
buf.append(" xmlns=\"").append(getNamespace()).append("\"/>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue