Close IBB stream with correct SID. See #8555
This commit is contained in:
parent
1a3d60c637
commit
3bc6173a11
|
@ -825,7 +825,7 @@ class ConnectionIBBytestream(ConnectionBytestream):
|
||||||
self.connection.send(nbxmpp.Protocol('iq',
|
self.connection.send(nbxmpp.Protocol('iq',
|
||||||
file_props.direction[1:], 'set',
|
file_props.direction[1:], 'set',
|
||||||
payload=[nbxmpp.Node(nbxmpp.NS_IBB + ' close',
|
payload=[nbxmpp.Node(nbxmpp.NS_IBB + ' close',
|
||||||
{'sid':file_props.sid})]))
|
{'sid':file_props.transport_sid})]))
|
||||||
if file_props.session_type == 'jingle':
|
if file_props.session_type == 'jingle':
|
||||||
peerjid = \
|
peerjid = \
|
||||||
file_props.receiver if file_props.type_ == 's' else file_props.sender
|
file_props.receiver if file_props.type_ == 's' else file_props.sender
|
||||||
|
|
Loading…
Reference in New Issue