Explorar o código

The `hide_muc_server` option no longer exists

JC Brand %!s(int64=6) %!d(string=hai) anos
pai
achega
0c1363c103
Modificáronse 3 ficheiros con 1 adicións e 15 borrados
  1. 0 2
      dist/converse.js
  2. 1 12
      docs/source/configuration.rst
  3. 0 1
      src/converse-muc-views.js

+ 0 - 2
dist/converse.js

@@ -53516,8 +53516,6 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_3__["default"].plugins
 
     _converse.api.settings.update({
       'auto_list_rooms': false,
-      'hide_muc_server': false,
-      // TODO: no longer implemented...
       'muc_disable_moderator_commands': false,
       'visible_toolbar_buttons': {
         'toggle_occupants': true

+ 1 - 12
docs/source/configuration.rst

@@ -690,8 +690,6 @@ fullname
 If you are using prebinding, can specify the fullname of the currently
 logged in user, otherwise the user's vCard will be fetched.
 
-.. _`hide_muc_server`:
-
 geouri_regex
 ----------------
 
@@ -707,15 +705,6 @@ geouri_replacement
 String used to replace geo-URIs with. Ought to be a link to osm or similar. ``$1`` and ``$2`` is replaced by
 latitude and longitude respectively.
 
-hide_muc_server
----------------
-
-* Default:  ``false``
-
-Hide the ``server`` input field of the form inside the ``Room`` panel of the
-controlbox. Useful if you want to restrict users to a specific XMPP server of
-your choosing.
-
 hide_offline_users
 ------------------
 
@@ -939,7 +928,7 @@ The MUC (multi-user chat) domain that should be used. By default Converse
 will attempt to get the MUC domain from the XMPP host of the currently logged in
 user.
 
-This setting will override that. You might want to combine this setting with `hide_muc_server`_.
+This setting will override that.
 
 muc_history_max_stanzas
 -----------------------

+ 0 - 1
src/converse-muc-views.js

@@ -99,7 +99,6 @@ converse.plugins.add('converse-muc-views', {
         // configuration settings.
         _converse.api.settings.update({
             'auto_list_rooms': false,
-            'hide_muc_server': false, // TODO: no longer implemented...
             'muc_disable_moderator_commands': false,
             'visible_toolbar_buttons': {
                 'toggle_occupants': true