aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmpp-vala/src/module/xep/0166_jingle.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/xep/0166_jingle.vala b/xmpp-vala/src/module/xep/0166_jingle.vala
index 85663929..7fc6c929 100644
--- a/xmpp-vala/src/module/xep/0166_jingle.vala
+++ b/xmpp-vala/src/module/xep/0166_jingle.vala
@@ -601,14 +601,13 @@ public class Session {
}
if (conn != null) {
state = State.ACTIVE;
- transport = null;
tried_transport_methods.clear();
if (security != null) {
connection.set_inner(security.wrap_stream(conn));
} else {
connection.set_inner(conn);
}
-
+ transport = null;
} else {
if (role == Role.INITIATOR) {
select_new_transport(stream);