diff 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
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua	Fri Mar 22 22:06:40 2019 +0000
+++ b/mod_conversejs/mod_conversejs.lua	Sun Mar 24 03:04:34 2019 +0100
@@ -13,6 +13,10 @@
 	module:depends("websocket");
 end);
 
+pcall(function ()
+	module:depends("bookmarks");
+end);
+
 local cdn_url = module:get_option_string("conversejs_cdn", "https://cdn.conversejs.org");
 
 local version = module:get_option_string("conversejs_version", "");