mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Use optElement() instead of optAppend() in StreamInitiation.toXML()
This commit is contained in:
parent
cf48f12565
commit
c3247ef006
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public class StreamInitiation extends IQ {
|
||||||
buf.rightAngleBracket();
|
buf.rightAngleBracket();
|
||||||
|
|
||||||
// Add the file section if there is one.
|
// Add the file section if there is one.
|
||||||
buf.optAppend(file.toXML());
|
buf.optElement(file);
|
||||||
break;
|
break;
|
||||||
case result:
|
case result:
|
||||||
buf.rightAngleBracket();
|
buf.rightAngleBracket();
|
||||||
|
|
Loading…
Reference in a new issue