fix connection to FT proxies. Fixes #7349
This commit is contained in:
parent
44513b912e
commit
1b803b7780
|
@ -871,6 +871,10 @@ class Socks5:
|
||||||
"""
|
"""
|
||||||
Get sha of sid + Initiator jid + Target jid
|
Get sha of sid + Initiator jid + Target jid
|
||||||
"""
|
"""
|
||||||
|
if self.file_props.is_a_proxy:
|
||||||
|
return hashlib.sha1('%s%s%s' % (self.sid,
|
||||||
|
self.file_props.proxy_sender, self.file_props.proxy_receiver)
|
||||||
|
).hexdigest()
|
||||||
return hashlib.sha1('%s%s%s' % (self.sid, self.initiator,
|
return hashlib.sha1('%s%s%s' % (self.sid, self.initiator,
|
||||||
self.target)).hexdigest()
|
self.target)).hexdigest()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue