comparison mod_conversejs/mod_conversejs.lua @ 4843:60887967b797

mod_conversejs: Switch dependency to mod_bookmarks2 Since mod_bookmarks2 now implements compatibility with the legacy PEP bookmarks storage method.
author Kim Alvefur <zash@zash.se>
date Tue, 04 Jan 2022 20:21:10 +0100
parents 37aa50ed79c1
children 192b7aaa3888
comparison
equal deleted inserted replaced
4842:8d4b91a703af 4843:60887967b797
15 local has_ws = pcall(function () 15 local has_ws = pcall(function ()
16 module:depends("websocket"); 16 module:depends("websocket");
17 end); 17 end);
18 18
19 pcall(function () 19 pcall(function ()
20 module:depends("bookmarks"); 20 module:depends("bookmarks2");
21 end); 21 end);
22 22
23 local cdn_url = module:get_option_string("conversejs_cdn", "https://cdn.conversejs.org"); 23 local cdn_url = module:get_option_string("conversejs_cdn", "https://cdn.conversejs.org");
24 24
25 local version = module:get_option_string("conversejs_version", ""); 25 local version = module:get_option_string("conversejs_version", "");