diff --git a/src/common/protocol/bytestream.py b/src/common/protocol/bytestream.py
index 9259f12648484635f1a0da0722ae3b2543f25379..70ec62754014b627a241001ea306055a95af4808 100644
--- a/src/common/protocol/bytestream.py
+++ b/src/common/protocol/bytestream.py
@@ -726,7 +726,7 @@ class ConnectionSocks5Bytestream(ConnectionBytestream):
                 port=int(proxy['port']), fingerprint=None,
                 connected=False, file_props=file_props)
             sender.streamhost = proxy
-            gajim.socks5queue.add_sockobj(self.name, sender, 'sender')
+            gajim.socks5queue.add_sockobj(self.name, sender)
             proxy['idx'] = sender.queue_idx
             gajim.socks5queue.on_success[file_props.sid] = self._proxy_auth_ok
             raise nbxmpp.NodeProcessed