# HG changeset patch # User Kim Alvefur # Date 1641414133 -3600 # Node ID 192b7aaa3888694b4cc1e8fea70e1a08d6760236 # Parent 5001104f0275d108b1262a1a274c8d3a25e15ac3 mod_conversejs: Try to depend on mod_bookmarks in trunk else mod_bookmarks2 diff -r 5001104f0275 -r 192b7aaa3888 mod_conversejs/mod_conversejs.lua --- a/mod_conversejs/mod_conversejs.lua Wed Jan 05 00:06:24 2022 +0100 +++ b/mod_conversejs/mod_conversejs.lua Wed Jan 05 21:22:13 2022 +0100 @@ -16,9 +16,13 @@ module:depends("websocket"); end); -pcall(function () - module:depends("bookmarks2"); -end); +if not pcall(function() + module:depends("bookmarks"); +end) then + pcall(function() + module:depends("bookmarks2") + end); +end local cdn_url = module:get_option_string("conversejs_cdn", "https://cdn.conversejs.org");