Merge branch 'upload-disco-form' into 'master'
xep_0363: Ensure every form in disco#info is read See merge request poezio/slixmpp!49
This commit is contained in:
commit
e57289358f
@ -116,7 +116,7 @@ class XEP_0363(BasePlugin):
|
|||||||
except (TypeError, ValueError):
|
except (TypeError, ValueError):
|
||||||
log.error('Invalid max size received from HTTP File Upload service')
|
log.error('Invalid max size received from HTTP File Upload service')
|
||||||
self.max_file_size = float('+inf')
|
self.max_file_size = float('+inf')
|
||||||
break
|
break
|
||||||
|
|
||||||
if input_file is None:
|
if input_file is None:
|
||||||
input_file = open(filename, 'rb')
|
input_file = open(filename, 'rb')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user