Allow disabling of the bosh plugin

This commit is contained in:
JC Brand 2020-06-03 17:43:57 +02:00
parent 09a79d609f
commit 95b015f01a

View File

@ -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 () {