Skip to content
Snippets Groups Projects
Commit 3bc6173a authored by Yann Leboulanger's avatar Yann Leboulanger Committed by Philipp Hörist
Browse files

Close IBB stream with correct SID. See #8555

parent 1a3d60c6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment