aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-09-29 00:46:56 +0200
committerfiaxh <git@lightrise.org>2019-09-29 01:53:59 +0200
commit5d65f047d0fd1a1ed4a3bbe076d5cb4df76e7d5f (patch)
tree836bd57da851abd9f86bc247fa2545880fd0a24d /xmpp-vala/src
parent74c29d4df19f97b9b67bbc3c1a963a8729be69fd (diff)
downloaddino-5d65f047d0fd1a1ed4a3bbe076d5cb4df76e7d5f.tar.gz
dino-5d65f047d0fd1a1ed4a3bbe076d5cb4df76e7d5f.zip
Fix Jingle transport error
Diffstat (limited to 'xmpp-vala/src')
-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);