Forráskód Böngészése

Set `reuse_scram_keys` to `true` by default

JC Brand 1 éve
szülő
commit
aaceb5d170
4 módosított fájl, 6 hozzáadás és 6 törlés
  1. 3 2
      CHANGES.md
  2. 0 1
      dev.html
  3. 1 1
      docs/source/configuration.rst
  4. 2 2
      src/headless/shared/settings/constants.js

+ 3 - 2
CHANGES.md

@@ -10,12 +10,13 @@
 - #3305: New config option [muc_search_service](https://conversejs.org/docs/html/configuration.html#muc-search-service)
 - #3307: Fix inconsistency between browsers on textarea outlines
 - #3337: Correctly display multiline nested quotes
-- Add an occupants filter to the MUC sidebar
-- Change contacts filter to rename the anachronistic `Online` state to `Available`.
 - Fix: MUC occupant list does not sort itself on nicknames or roles changes
 - Fix: refresh the MUC sidebar when participants collection is sorted
 - Fix: room information not correctly refreshed when modifications are made by other users
 - Fix: prevent busy-loop when session resumption fails
+- Add an occupants filter to the MUC sidebar
+- Change contacts filter to rename the anachronistic `Online` state to `Available`.
+- Enable [reuse_scram_keys](https://conversejs.org/docs/html/configuration.html#reuse-scram-keys) by default.
 
 ### Breaking changes:
 

+ 0 - 1
dev.html

@@ -33,7 +33,6 @@
         auto_away: 300,
         enable_smacks: true,
         loglevel: 'debug',
-        reuse_scram_keys: true,
         prune_messages_above: 100,
         message_archiving: 'always',
         muc_respect_autojoin: true,

+ 1 - 1
docs/source/configuration.rst

@@ -1835,7 +1835,7 @@ Based on the OGP metadata Converse will render a URL preview (also known as an
 reuse_scram_keys
 ----------------
 
-* Default: ``false``
+* Default: ``true``
 
 Most XMPP servers enable the Salted Challenge Response Authentication Mechanism
 or SCRAM for short. This allows the user and the server to mutually

+ 2 - 2
src/headless/shared/settings/constants.js

@@ -6,7 +6,7 @@
  * @property { String } [assets_path='/dist']
  * @property { ('login'|'prebind'|'anonymous'|'external') } [authentication='login']
  * @property { Boolean } [auto_login=false] - Currently only used in connection with anonymous login
- * @property { Boolean } [reuse_scram_keys=false] - Save SCRAM keys after login to allow for future auto login
+ * @property { Boolean } [reuse_scram_keys=true] - Save SCRAM keys after login to allow for future auto login
  * @property { Boolean } [auto_reconnect=true]
  * @property { Array<String>} [blacklisted_plugins]
  * @property { Boolean } [clear_cache_on_logout=false]
@@ -49,7 +49,7 @@ export const DEFAULT_SETTINGS = {
     geouri_replacement: 'https://www.openstreetmap.org/?mlat=$1&mlon=$2#map=18/$1/$2',
     i18n: undefined,
     jid: undefined,
-    reuse_scram_keys: false,
+    reuse_scram_keys: true,
     keepalive: true,
     loglevel: 'info',
     locales: [