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

This commit is contained in:
Yann Leboulanger 2011-04-26 14:29:07 +02:00
parent c2ea566b12
commit 03c13ab6d4
1 changed files with 0 additions and 1 deletions

View File

@ -344,7 +344,6 @@ class ConnectionSocks5Bytestream(ConnectionBytestream):
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)