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:
Maxime Buquet 2020-05-12 01:04:41 +02:00
commit e57289358f

View file

@ -116,7 +116,7 @@ class XEP_0363(BasePlugin):
except (TypeError, ValueError):
log.error('Invalid max size received from HTTP File Upload service')
self.max_file_size = float('+inf')
break
break
if input_file is None:
input_file = open(filename, 'rb')