From 3bc6173a1176081043f7b7f57331e6b87a04afd1 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 1 Mar 2017 22:10:30 +0100 Subject: [PATCH] Close IBB stream with correct SID. See #8555 --- src/common/protocol/bytestream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/protocol/bytestream.py b/src/common/protocol/bytestream.py index a3d0069dc..9f82cb721 100644 --- a/src/common/protocol/bytestream.py +++ b/src/common/protocol/bytestream.py @@ -825,7 +825,7 @@ class ConnectionIBBytestream(ConnectionBytestream): self.connection.send(nbxmpp.Protocol('iq', file_props.direction[1:], 'set', payload=[nbxmpp.Node(nbxmpp.NS_IBB + ' close', - {'sid':file_props.sid})])) + {'sid':file_props.transport_sid})])) if file_props.session_type == 'jingle': peerjid = \ file_props.receiver if file_props.type_ == 's' else file_props.sender