correctly get account name

This commit is contained in:
Yann Leboulanger 2014-06-01 15:42:28 +02:00
parent f5e7b812bf
commit 2e48120e0c
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class ConnectionBytestream:
profile = si.getAttr('profile')
if profile != nbxmpp.NS_FILE:
return
file_props = FilesProp.getFileProp(con.name, iq_obj.getAttr('id'))
file_props = FilesProp.getFileProp(self.name, iq_obj.getAttr('id'))
if not file_props:
return
jid = self._ft_get_from(iq_obj)