file tag is needed only when restoring previous
transfers
This commit is contained in:
parent
2c41c831b9
commit
cd8a5dca72
|
@ -224,6 +224,8 @@ class ConnectionBytestream:
|
||||||
si = iq.setTag('si')
|
si = iq.setTag('si')
|
||||||
si.setNamespace(common.xmpp.NS_SI)
|
si.setNamespace(common.xmpp.NS_SI)
|
||||||
if file_props.has_key('offset') and file_props['offset']:
|
if file_props.has_key('offset') and file_props['offset']:
|
||||||
|
file_tag = si.setTag('file')
|
||||||
|
file_tag.setNamespace(common.xmpp.NS_FILE)
|
||||||
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'])
|
||||||
feature = si.setTag('feature')
|
feature = si.setTag('feature')
|
||||||
|
|
Loading…
Reference in New Issue