This commit is contained in:
Philipp Hörist 2017-04-29 20:39:58 +02:00
parent b94c827400
commit b6db6026be
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class ConnectionJingle(object):
use_security = contact.supports(nbxmpp.NS_JINGLE_XTLS) use_security = contact.supports(nbxmpp.NS_JINGLE_XTLS)
jingle = JingleSession(self, weinitiate=True, jid=jid, werequest=request) jingle = JingleSession(self, weinitiate=True, jid=jid, werequest=request)
# this is a file transfer # this is a file transfer
jingle.session_type_FT = True jingle.session_type_ft = True
self._sessions[jingle.sid] = jingle self._sessions[jingle.sid] = jingle
file_props.sid = jingle.sid file_props.sid = jingle.sid
if contact.supports(nbxmpp.NS_JINGLE_BYTESTREAM): if contact.supports(nbxmpp.NS_JINGLE_BYTESTREAM):