Change summary
src/eu/siacs/conversations/xmpp/jingle/JingleConnection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -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")){