parent
bf56c34a83
commit
2c41c831b9
1 changed files with 0 additions and 2 deletions
|
@ -223,8 +223,6 @@ class ConnectionBytestream:
|
||||||
iq.setAttr('id', file_props['request-id'])
|
iq.setAttr('id', file_props['request-id'])
|
||||||
si = iq.setTag('si')
|
si = iq.setTag('si')
|
||||||
si.setNamespace(common.xmpp.NS_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']:
|
if file_props.has_key('offset') and file_props['offset']:
|
||||||
range_tag = file_tag.setTag('range')
|
range_tag = file_tag.setTag('range')
|
||||||
range_tag.setAttr('offset', file_props['offset'])
|
range_tag.setAttr('offset', file_props['offset'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue