bug fix for jingle

This commit is contained in:
Daniel Gultsch 2014-04-26 17:26:22 +02:00
parent f36f218469
commit 4b66b4b5d1
1 changed files with 1 additions and 1 deletions

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")){