[Jonathan Schleifer] fix filetransfer. fixes #3498
This commit is contained in:
parent
d0649b8f81
commit
3db9f2ddd9
1 changed files with 2 additions and 2 deletions
|
@ -463,7 +463,7 @@ class ConnectionBytestream:
|
|||
raise common.xmpp.NodeProcessed
|
||||
|
||||
if real_id[:3] == 'au_':
|
||||
if file_props['stopped']:
|
||||
if file.has_key('stopped') and file_props['stopped']:
|
||||
self.remove_transfer(file_props)
|
||||
else:
|
||||
gajim.socks5queue.send_file(file_props, self.name)
|
||||
|
@ -488,7 +488,7 @@ class ConnectionBytestream:
|
|||
raise common.xmpp.NodeProcessed
|
||||
|
||||
else:
|
||||
if file_props['stopped']:
|
||||
if file_props.has_key('stopped') and file_props['stopped']:
|
||||
self.remove_transfer(file_props)
|
||||
else:
|
||||
gajim.socks5queue.send_file(file_props, self.name)
|
||||
|
|
Loading…
Add table
Reference in a new issue