Fix Jingle transport error

This commit is contained in:
fiaxh 2019-09-29 00:46:56 +02:00
parent 74c29d4df1
commit 5d65f047d0

View file

@ -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);