1
0
Fork 0
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:
vanitasvitae 2017-06-08 00:48:23 +02:00
parent f528e4dd9d
commit 05b0e3650e
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
6 changed files with 302 additions and 102 deletions

View file

@ -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 {