Commit 03c13ab6 authored by Yann Leboulanger's avatar Yann Leboulanger

[adminX] don't send wrong mode value when sending bytestreams. Fixes #6868

parent c2ea566b
......@@ -344,7 +344,6 @@ def _send_socks5_info(self, file_props):
file_props['request-id'] = 'id_' + file_props['sid']
iq.setID(file_props['request-id'])
query = iq.setTag('query', namespace=xmpp.NS_BYTESTREAM)
query.setAttr('mode', 'plain')
query.setAttr('sid', file_props['sid'])
self._add_addiditional_streamhosts_to_query(query, file_props)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment