comparison mod_conversejs/mod_conversejs.lua @ 3494:4feab7e87675

mod_conversejs: Add dependency on mod_bookmarks Converse.js stores bookmarks in PEP
author Kim Alvefur <zash@zash.se>
date Sun, 24 Mar 2019 03:04:34 +0100
parents f59334da6df9
children 1921ae4449b8
comparison
equal deleted inserted replaced
3493:3d4eefdd950a 3494:4feab7e87675
9 module:depends"bosh"; 9 module:depends"bosh";
10 end); 10 end);
11 11
12 local has_ws = pcall(function () 12 local has_ws = pcall(function ()
13 module:depends("websocket"); 13 module:depends("websocket");
14 end);
15
16 pcall(function ()
17 module:depends("bookmarks");
14 end); 18 end);
15 19
16 local cdn_url = module:get_option_string("conversejs_cdn", "https://cdn.conversejs.org"); 20 local cdn_url = module:get_option_string("conversejs_cdn", "https://cdn.conversejs.org");
17 21
18 local version = module:get_option_string("conversejs_version", ""); 22 local version = module:get_option_string("conversejs_version", "");