AlexLance: is there a way to decide which plugins to load with the current version? see also:
https://github.com/legastero/stanza/issues/377
Lancethere is not yet
Alexhm
Alexis there a way to overwrite features? if my client does not support Jingle I don't want to advertise it
Alexsimilar with some other features from plugins
LanceI'm not entirely certain what's going on in that issue. Just tried it myself, and new just new Client() starts up without plugins
LanceWARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
import * as Stanza from 'stanza';
import muc from 'stanza/plugins/muc';
const client = new Stanza.Client({
.....
});
client.use(muc);
window.client = client;
client.on('*', console.log);
client.connect();
Lancethat's working for me
Lancegah, copied extra line from console
Lanceyou can drop features with client.disco.features.get('').delete('some-feature'). just be sure to call client.updateCaps() afterward
AlexThanks, will try to load only the modules I need then 👍