fix traceback with new fileprops.

This commit is contained in:
Yann Leboulanger 2013-08-26 20:34:58 +02:00
parent daded34fcb
commit b34162e5d0
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class JingleFileTransfer(JingleContent):
if gajim.contacts.is_gc_contact(session.connection.name,
session.peerjid):
roomjid = session.peerjid.split('/')[0]
dstaddr = hashlib.sha1('%s%s%s' % (self.file_props['sid'],
dstaddr = hashlib.sha1('%s%s%s' % (self.file_props.sid,
session.ourjid, roomjid)).hexdigest()
self.file_props.dstaddr = dstaddr
self.state = STATE_NOT_STARTED