Diff

mod_conversejs/mod_conversejs.lua @ 3348:f753cf4f7224

mod_conversejs: Default to latest version of Converse.js
author Kim Alvefur <zash@zash.se>
date Thu, 04 Oct 2018 14:43:23 +0200
parent 3347:823156d5885b
child 3363:2681f74750b2
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua	Thu Oct 04 14:40:32 2018 +0200
+++ b/mod_conversejs/mod_conversejs.lua	Thu Oct 04 14:43:23 2018 +0200
@@ -12,7 +12,7 @@
 
 local cdn_url = module:get_option_string("conversejs_cdn", "https://cdn.conversejs.org");
 
-local version = module:get_option_string("conversejs_version", "4.0.1");
+local version = module:get_option_string("conversejs_version", "");
 if version ~= "" then version = "/" .. version end
 local js_url = module:get_option_string("conversejs_script", cdn_url..version.."/dist/converse.min.js");
 local css_url = module:get_option_string("conversejs_css", cdn_url..version.."/css/converse.min.css");