mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-12 02:29:38 +02:00
Introduce JingleSocks5TransportInfo class
This commit is contained in:
parent
f528e4dd9d
commit
05b0e3650e
6 changed files with 302 additions and 102 deletions
|
@ -74,7 +74,7 @@ public abstract class JingleContentTransport implements ExtensionElement {
|
|||
XmlStringBuilder xml = new XmlStringBuilder(this);
|
||||
addExtraAttributes(xml);
|
||||
|
||||
if (candidates.isEmpty()) {
|
||||
if (candidates.isEmpty() && infos.isEmpty()) {
|
||||
xml.closeEmptyElement();
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue