Skip to content

Commit

Permalink
Fix Jingle transport error
Browse files Browse the repository at this point in the history
  • Loading branch information
fiaxh committed Sep 28, 2019
1 parent 74c29d4 commit 5d65f04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xmpp-vala/src/module/xep/0166_jingle.vala
Expand Up @@ -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);
Expand Down

0 comments on commit 5d65f04

Please sign in to comment.