add file_props structure to socks5queue
This commit is contained in:
parent
b85e7849e8
commit
2b745570ec
|
@ -100,8 +100,6 @@ class JingleFileTransfer(JingleContent):
|
|||
self.transport.set_file_props(self.file_props)
|
||||
log.info("FT request: %s" % file_props)
|
||||
|
||||
#TODO
|
||||
#add file transfer to queue
|
||||
self.session.connection.dispatch('FILE_REQUEST', (jid, file_props))
|
||||
|
||||
|
||||
|
|
|
@ -138,6 +138,8 @@ class ConnectionBytestream:
|
|||
jid = gajim.get_jid_without_resource(file_props['sender'])
|
||||
resource = gajim.get_resource_from_jid(file_props['sender'])
|
||||
|
||||
gajim.socks5queue.add_file_props(session.ourjid, file_props)
|
||||
|
||||
if not session.accepted:
|
||||
session.approve_session()
|
||||
session.approve_content('file')
|
||||
|
|
Loading…
Reference in New Issue