From 03c13ab6d425c7a6fa35ec618b40634096284cbb Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 26 Apr 2011 14:29:07 +0200 Subject: [PATCH] [adminX] don't send wrong mode value when sending bytestreams. Fixes #6868 --- src/common/protocol/bytestream.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/protocol/bytestream.py b/src/common/protocol/bytestream.py index ab71f91f9..61acdc8ba 100644 --- a/src/common/protocol/bytestream.py +++ b/src/common/protocol/bytestream.py @@ -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)