aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-27 00:29:12 +0100
committerKim Alvefur <zash@zash.se>2021-01-27 00:29:12 +0100
commit4b74c6abb77fc934081533f68b26c563661b0dec (patch)
tree1d6f5ff5ada58deeabbf180c62c723a27532f18f /plugins
parent435af3845159e84504640fcda9ed8a363eb1bb06 (diff)
downloadprosody-4b74c6abb77fc934081533f68b26c563661b0dec.tar.gz
prosody-4b74c6abb77fc934081533f68b26c563661b0dec.zip
mod_http_file_share: Fix name of max-file-size tag
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_file_share.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua
index 7256b063..8a47b824 100644
--- a/plugins/mod_http_file_share.lua
+++ b/plugins/mod_http_file_share.lua
@@ -47,7 +47,7 @@ local upload_errors = errors.init(module.name, namespace, {
filename = { type = "modify"; condition = "bad-request"; text = "Invalid filename" };
filetype = { type = "modify"; condition = "not-acceptable"; text = "File type not allowed" };
filesize = { type = "modify"; condition = "not-acceptable"; text = "File too large";
- extra = {tag = st.stanza("file-too-large", {xmlns = namespace}):tag("max-size"):text(tostring(file_size_limit)) };
+ extra = {tag = st.stanza("file-too-large", {xmlns = namespace}):tag("max-file-size"):text(tostring(file_size_limit)) };
};
});