Merge branch 'allow-ibb-to-bare-jid' into 'master'
Allow IBB FT to bare JIDs again Closes #8581 See merge request !71
This commit is contained in:
commit
2f1cad1c81
|
@ -843,8 +843,6 @@ class ConnectionIBBytestream(ConnectionBytestream):
|
||||||
Take into account that recommended stanza size is 4k and IBB uses
|
Take into account that recommended stanza size is 4k and IBB uses
|
||||||
base64 encoding that increases size of data by 1/3.
|
base64 encoding that increases size of data by 1/3.
|
||||||
"""
|
"""
|
||||||
if not nbxmpp.JID(to).getResource():
|
|
||||||
return
|
|
||||||
file_props = FilesProp.getFilePropBySid(sid)
|
file_props = FilesProp.getFilePropBySid(sid)
|
||||||
file_props.direction = '|>' + to
|
file_props.direction = '|>' + to
|
||||||
file_props.block_size = blocksize
|
file_props.block_size = blocksize
|
||||||
|
|
Loading…
Reference in New Issue