summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-03-11 19:39:30 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-03-11 19:39:30 +0100
commit81dc61c55c5ce9a3b13d104f0731059caf0b225a (patch)
tree0e95e13efeb325326c7e988aae843aabba022156
parentbd63b1ce7056ca4c5d1b63e919111f27ffba8dc2 (diff)
downloadslixmpp-81dc61c55c5ce9a3b13d104f0731059caf0b225a.tar.gz
slixmpp-81dc61c55c5ce9a3b13d104f0731059caf0b225a.tar.bz2
slixmpp-81dc61c55c5ce9a3b13d104f0731059caf0b225a.tar.xz
slixmpp-81dc61c55c5ce9a3b13d104f0731059caf0b225a.zip
xep_0363: Fix max_file_size variable name.
-rw-r--r--slixmpp/plugins/xep_0363/http_upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0363/http_upload.py b/slixmpp/plugins/xep_0363/http_upload.py
index 9218600b..c15fe66e 100644
--- a/slixmpp/plugins/xep_0363/http_upload.py
+++ b/slixmpp/plugins/xep_0363/http_upload.py
@@ -39,7 +39,7 @@ class XEP_0363(BasePlugin):
stanza = stanza
default_config = {
'upload_service': None,
- 'maximum_size': float('+inf'),
+ 'max_file_size': float('+inf'),
'default_content_type': 'application/octet-stream',
}