Browse Source

Make `keepalive` and `roster_groups` true by default.

JC Brand 8 years ago
parent
commit
a1c156456d
4 changed files with 4 additions and 3 deletions
  1. 1 0
      docs/CHANGES.md
  2. 1 0
      docs/source/quickstart.rst
  3. 0 1
      index.html
  4. 2 2
      src/converse-core.js

+ 1 - 0
docs/CHANGES.md

@@ -12,6 +12,7 @@
     * To prevent confusion the private, closured object, only
       available to plugins, has been renamed from `converse` to `_converse`.
       The public API is accessible via a global `converse` object.
+    * The `keepalive` and `roster_groups` options are now set to `true` by default.
 
 - Created a new non-core plugin `converse-muc-embedded` which embeds a single
   chat room into a page. An example can be found at https://conversejs.org/demo/embedded.html

+ 1 - 0
docs/source/quickstart.rst

@@ -48,6 +48,7 @@ bottom of your page (after the closing *</body>* element):
         converse.initialize({
             bosh_service_url: 'https://bind.conversejs.org', // Please use this connection manager only for testing purposes
             show_controlbox_by_default: true,
+            play_sounds: true,
         });
     });
     </script>

+ 0 - 1
index.html

@@ -241,7 +241,6 @@
         converse.initialize({
             // Please use this connection manager only for testing purposes
             bosh_service_url: 'https://conversejs.org/http-bind/',
-            keepalive: true,
             message_carbons: true,
             play_sounds: true,
             roster_groups: true,

+ 2 - 2
src/converse-core.js

@@ -240,14 +240,14 @@
             hide_offline_users: false,
             include_offline_state: false,
             jid: undefined,
-            keepalive: false,
+            keepalive: true,
             locked_domain: undefined,
             message_carbons: false,
             message_storage: 'session',
             password: undefined,
             prebind_url: null,
             rid: undefined,
-            roster_groups: false,
+            roster_groups: true,
             show_only_online_users: false,
             sid: undefined,
             storage: 'session',