From 5d65f047d0fd1a1ed4a3bbe076d5cb4df76e7d5f Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 29 Sep 2019 00:46:56 +0200 Subject: Fix Jingle transport error --- xmpp-vala/src/module/xep/0166_jingle.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmpp-vala') 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); -- cgit v1.2.3-70-g09d2