prevent traceback when using normal socks5 FT
This commit is contained in:
parent
ff972b6b67
commit
f49f8163a6
|
@ -922,7 +922,8 @@ class Interface:
|
||||||
jid = unicode(file_props['receiver'])
|
jid = unicode(file_props['receiver'])
|
||||||
|
|
||||||
# End jingle session
|
# End jingle session
|
||||||
if file_props['session-type'] == 'jingle' and file_props['type'] == 'r':
|
if file_props.get('session-type') == 'jingle' and file_props['type'] ==\
|
||||||
|
'r':
|
||||||
session = gajim.connections[account].get_jingle_session(jid,
|
session = gajim.connections[account].get_jingle_session(jid,
|
||||||
sid=file_props['session-sid'])
|
sid=file_props['session-sid'])
|
||||||
# get content:
|
# get content:
|
||||||
|
|
Loading…
Reference in New Issue