Remove allow_muc
setting
This commit is contained in:
parent
8930201b99
commit
7b31f4d333
@ -6,6 +6,10 @@
|
|||||||
- #2746: Always reply to all iqs, even those not understood
|
- #2746: Always reply to all iqs, even those not understood
|
||||||
- #2868: Selected emoji is inserted into all open chat boxes
|
- #2868: Selected emoji is inserted into all open chat boxes
|
||||||
|
|
||||||
|
Remove the very old and largely unused config option `allow_muc`.
|
||||||
|
If you don't want MUC support, you can add `'converse-muc'` to the
|
||||||
|
`blacklisted_plugins` setting.
|
||||||
|
|
||||||
## 9.1.0 (2022-04-02)
|
## 9.1.0 (2022-04-02)
|
||||||
|
|
||||||
- Updated translations: af, ar, es, eu, fr, gl, he, lt
|
- Updated translations: af, ar, es, eu, fr, gl, he, lt
|
||||||
|
@ -224,13 +224,6 @@ allow_message_styling
|
|||||||
|
|
||||||
Determines wehether support for XEP-0393 Message Styling hints are enabled or not.
|
Determines wehether support for XEP-0393 Message Styling hints are enabled or not.
|
||||||
|
|
||||||
allow_muc
|
|
||||||
---------
|
|
||||||
|
|
||||||
* Default: ``true``
|
|
||||||
|
|
||||||
Allow multi-user chat (muc) in chatrooms. Setting this to ``false`` will remove
|
|
||||||
the ``Chatrooms`` tab from the control box.
|
|
||||||
|
|
||||||
allow_muc_invitations
|
allow_muc_invitations
|
||||||
---------------------
|
---------------------
|
||||||
|
@ -159,7 +159,6 @@ converse.plugins.add('converse-muc', {
|
|||||||
// Refer to docs/source/configuration.rst for explanations of these
|
// Refer to docs/source/configuration.rst for explanations of these
|
||||||
// configuration settings.
|
// configuration settings.
|
||||||
api.settings.extend({
|
api.settings.extend({
|
||||||
'allow_muc': true,
|
|
||||||
'allow_muc_invitations': true,
|
'allow_muc_invitations': true,
|
||||||
'auto_join_on_invite': false,
|
'auto_join_on_invite': false,
|
||||||
'auto_join_rooms': [],
|
'auto_join_rooms': [],
|
||||||
|
@ -148,7 +148,8 @@ export function isInfoVisible (code) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Automatically join groupchats, based on the
|
/**
|
||||||
|
* Automatically join groupchats, based on the
|
||||||
* "auto_join_rooms" configuration setting, which is an array
|
* "auto_join_rooms" configuration setting, which is an array
|
||||||
* of strings (groupchat JIDs) or objects (with groupchat JID and other settings).
|
* of strings (groupchat JIDs) or objects (with groupchat JID and other settings).
|
||||||
*/
|
*/
|
||||||
@ -180,9 +181,8 @@ export async function autoJoinRooms () {
|
|||||||
|
|
||||||
|
|
||||||
export function onAddClientFeatures () {
|
export function onAddClientFeatures () {
|
||||||
if (api.settings.get('allow_muc')) {
|
|
||||||
api.disco.own.features.add(Strophe.NS.MUC);
|
api.disco.own.features.add(Strophe.NS.MUC);
|
||||||
}
|
|
||||||
if (api.settings.get('allow_muc_invitations')) {
|
if (api.settings.get('allow_muc_invitations')) {
|
||||||
api.disco.own.features.add('jabber:x:conference'); // Invites
|
api.disco.own.features.add('jabber:x:conference'); // Invites
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user