fix traceback with new fileprops.
This commit is contained in:
parent
5999f048f5
commit
76ad29175a
|
@ -95,7 +95,7 @@ class JingleFileTransfer(JingleContent):
|
||||||
if gajim.contacts.is_gc_contact(session.connection.name,
|
if gajim.contacts.is_gc_contact(session.connection.name,
|
||||||
session.peerjid):
|
session.peerjid):
|
||||||
roomjid = session.peerjid.split('/')[0]
|
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)).encode('utf-8')).hexdigest()
|
session.ourjid, roomjid)).encode('utf-8')).hexdigest()
|
||||||
self.file_props.dstaddr = dstaddr
|
self.file_props.dstaddr = dstaddr
|
||||||
self.state = STATE_NOT_STARTED
|
self.state = STATE_NOT_STARTED
|
||||||
|
|
Loading…
Reference in New Issue