Skip to content
Snippets Groups Projects
Commit 4b9e7f19 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

add missing import to common/protocol/bytestream.py. Fixes #5520

parent 8d8db580
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,8 @@ from common import gajim
from common import helpers
from common import dataforms
from common.socks5 import Socks5Receiver
def is_transfer_paused(file_props):
if 'stopped' in file_props and file_props['stopped']:
......@@ -520,7 +522,7 @@ class ConnectionBytestream:
file_props['streamhosts'] = []
file_props['streamhosts'].append(proxy)
file_props['is_a_proxy'] = True
receiver = socks5.Socks5Receiver(gajim.idlequeue, proxy,
receiver = Socks5Receiver(gajim.idlequeue, proxy,
file_props['sid'], file_props)
gajim.socks5queue.add_receiver(self.name, receiver)
proxy['idx'] = receiver.queue_idx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment