mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
Fix Time class creating invalid XML
Fixes SMACK-698.
This commit is contained in:
parent
b17080a936
commit
15c1c8ad19
1 changed files with 1 additions and 2 deletions
|
@ -131,9 +131,8 @@ public class Time extends IQ {
|
|||
|
||||
@Override
|
||||
protected IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
|
||||
buf.rightAngleBracket();
|
||||
|
||||
if (utc != null) {
|
||||
buf.rightAngleBracket();
|
||||
buf.append("<utc>").append(utc).append("</utc>");
|
||||
buf.append("<tzo>").append(tzo).append("</tzo>");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue