浏览代码

The `hide_muc_server` option no longer exists

JC Brand 6 年之前
父节点
当前提交
0c1363c103
共有 3 个文件被更改,包括 1 次插入15 次删除
  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({
     _converse.api.settings.update({
       'auto_list_rooms': false,
       'auto_list_rooms': false,
-      'hide_muc_server': false,
-      // TODO: no longer implemented...
       'muc_disable_moderator_commands': false,
       'muc_disable_moderator_commands': false,
       'visible_toolbar_buttons': {
       'visible_toolbar_buttons': {
         'toggle_occupants': true
         '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
 If you are using prebinding, can specify the fullname of the currently
 logged in user, otherwise the user's vCard will be fetched.
 logged in user, otherwise the user's vCard will be fetched.
 
 
-.. _`hide_muc_server`:
-
 geouri_regex
 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
 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.
 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
 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
 will attempt to get the MUC domain from the XMPP host of the currently logged in
 user.
 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
 muc_history_max_stanzas
 -----------------------
 -----------------------

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

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