bug fix for jingle

This commit is contained in:
Daniel Gultsch 2014-04-26 17:26:22 +02:00
parent f36f218469
commit 4b66b4b5d1

View File

@ -381,7 +381,7 @@ public class JingleConnection {
} else if (content.socks5transport().hasChild("candidate-error")) {
Log.d("xmppService","received candidate error");
this.receivedCandidate = true;
if (status == STATUS_ACCEPTED) {
if ((status == STATUS_ACCEPTED)&&(this.sentCandidate)) {
this.connect();
}
} else if (content.socks5transport().hasChild("candidate-used")){