Commit 95b015f0 authored by JC Brand's avatar JC Brand

Allow disabling of the bosh plugin

parent 09a79d60
......@@ -17,7 +17,7 @@ const BOSH_SESSION_ID = 'converse.bosh-session';
converse.plugins.add('converse-bosh', {
enabled () {
return true;
return !_converse.api.settings.get("blacklisted_plugins").includes('converse-bosh');
},
initialize () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment