Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Georg Pfuetzenreuter
gajim
Commits
e841e9ed
Commit
e841e9ed
authored
May 14, 2021
by
Daniel Brötzmann
Browse files
Jingle: Fix UnboundLocalError for transports variable
transport=None is handled in JingleTransportSocks5() Fixes #10545
parent
055308ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/common/modules/jingle.py
View file @
e841e9ed
...
...
@@ -226,10 +226,13 @@ def start_file_transfer(self, jid, file_props, request=False):
jingle
.
session_type_ft
=
True
self
.
_sessions
[
jingle
.
sid
]
=
jingle
file_props
.
sid
=
jingle
.
sid
if
contact
.
supports
(
Namespace
.
JINGLE_BYTESTREAM
):
transport
=
JingleTransportSocks5
()
elif
contact
.
supports
(
Namespace
.
JINGLE_IBB
):
transport
=
JingleTransportIBB
()
else
:
transport
=
None
senders
=
'initiator'
if
request
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment