no file tag for stream initiation result

(#1796)
This commit is contained in:
Dimitur Kirov 2006-04-04 08:27:27 +00:00
parent bf56c34a83
commit 2c41c831b9
1 changed files with 0 additions and 2 deletions

View File

@ -223,8 +223,6 @@ class ConnectionBytestream:
iq.setAttr('id', file_props['request-id'])
si = iq.setTag('si')
si.setNamespace(common.xmpp.NS_SI)
file_tag = si.setTag('file')
file_tag.setNamespace(common.xmpp.NS_FILE)
if file_props.has_key('offset') and file_props['offset']:
range_tag = file_tag.setTag('range')
range_tag.setAttr('offset', file_props['offset'])