Quellcode durchsuchen

Set `auto_reconnect` to `true` by default.

JC Brand vor 7 Jahren
Ursprung
Commit
56aa45b1d3
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 1 0
      CHANGES.md
  2. 1 1
      src/converse-core.js

+ 1 - 0
CHANGES.md

@@ -18,6 +18,7 @@ though they should be private._
 - New API method `_converse.disco.getIdentity` to check whether a JID has a given identity.
 
 ### Configuration settings
+- `auto_reconnect` is now set to `true` by default.
 - New configuration setting [allow_public_bookmarks](https://conversejs.org/docs/html/configurations.html#allow-public-bookmarks)
 - New configuration setting [root](https://conversejs.org/docs/html/configurations.html#root)
 

+ 1 - 1
src/converse-core.js

@@ -288,7 +288,7 @@
             authentication: 'login', // Available values are "login", "prebind", "anonymous" and "external".
             auto_away: 0, // Seconds after which user status is set to 'away'
             auto_login: false, // Currently only used in connection with anonymous login
-            auto_reconnect: false,
+            auto_reconnect: true,
             auto_subscribe: false,
             auto_xa: 0, // Seconds after which user status is set to 'xa'
             blacklisted_plugins: [],