fix traceback when receiving a file

This commit is contained in:
Yann Leboulanger 2007-07-25 23:02:55 +00:00
parent cd4a620d94
commit 85158665d4

View file

@ -562,6 +562,7 @@ class ConnectionBytestream:
file_props['sender'] = helpers.get_full_jid_from_iq(iq_obj)
file_props['request-id'] = unicode(iq_obj.getAttr('id'))
file_props['sid'] = unicode(si.getAttr('id'))
file_props['transfered_size'] = []
gajim.socks5queue.add_file_props(self.name, file_props)
self.dispatch('FILE_REQUEST', (jid, file_props))
raise common.xmpp.NodeProcessed