Yann Leboulanger pushed to branch gajim_0.16 at gajim / gajim

Commits:
85f8e91b by Yann Leboulanger at 2017-03-01T22:10:30+01:00
Close IBB stream with correct SID. See #8555

- - - - -


1 changed file:

- src/common/protocol/bytestream.py


Changes:

=====================================
src/common/protocol/bytestream.py
=====================================
--- a/src/common/protocol/bytestream.py
+++ b/src/common/protocol/bytestream.py
@@ -819,7 +819,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



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/85f8e91bf7de86044708b49b4977dfd556b07c29
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to