Allow disabling of the bosh plugin
This commit is contained in:
parent
09a79d609f
commit
95b015f01a
|
@ -17,7 +17,7 @@ const BOSH_SESSION_ID = 'converse.bosh-session';
|
||||||
converse.plugins.add('converse-bosh', {
|
converse.plugins.add('converse-bosh', {
|
||||||
|
|
||||||
enabled () {
|
enabled () {
|
||||||
return true;
|
return !_converse.api.settings.get("blacklisted_plugins").includes('converse-bosh');
|
||||||
},
|
},
|
||||||
|
|
||||||
initialize () {
|
initialize () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user