From bc81a3d680de2848e7aed6d2daac7794c668bcfe Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sun, 17 Dec 2017 15:01:45 +0000 Subject: [PATCH] Specify dependencies, so that their `initialize` methods get called first --- src/converse-bookmarks.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/converse-bookmarks.js b/src/converse-bookmarks.js index 8c78fd529..461c8b645 100644 --- a/src/converse-bookmarks.js +++ b/src/converse-bookmarks.js @@ -34,6 +34,9 @@ const { Backbone, Promise, Strophe, $iq, b64_sha1, sizzle, _ } = converse.env; converse.plugins.add('converse-bookmarks', { + + optional_dependencies: ["converse-chatboxes", "converse-muc"], + overrides: { // Overrides mentioned here will be picked up by converse.js's // plugin architecture they will replace existing methods on the