Commit e5728935 authored by Maxime Buquet's avatar Maxime Buquet

Merge branch 'upload-disco-form' into 'master'

xep_0363: Ensure every form in disco#info is read

See merge request poezio/slixmpp!49
parents d6f7d32b 4aa35c11
......@@ -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')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment