Commit 038359c7 authored by Christoph Scholz's avatar Christoph Scholz Committed by JC Brand

fix foreach in fileupload

parent 16db6195
......@@ -626,7 +626,7 @@ converse.plugins.add('converse-chatboxes', {
});
return;
}
files.forEach(file => {
Array.from(files).forEach(file => {
if (!window.isNaN(max_file_size) && window.parseInt(file.size) > max_file_size) {
return this.messages.create({
'message': __('The size of your file, %1$s, exceeds the maximum allowed by your server, which is %2$s.',
......
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