Commit a1c15645 authored by JC Brand's avatar JC Brand

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

parent ef7a0df4
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
* To prevent confusion the private, closured object, only * To prevent confusion the private, closured object, only
available to plugins, has been renamed from `converse` to `_converse`. available to plugins, has been renamed from `converse` to `_converse`.
The public API is accessible via a global `converse` object. 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 - 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 chat room into a page. An example can be found at https://conversejs.org/demo/embedded.html
......
...@@ -48,6 +48,7 @@ bottom of your page (after the closing *</body>* element): ...@@ -48,6 +48,7 @@ bottom of your page (after the closing *</body>* element):
converse.initialize({ converse.initialize({
bosh_service_url: 'https://bind.conversejs.org', // Please use this connection manager only for testing purposes bosh_service_url: 'https://bind.conversejs.org', // Please use this connection manager only for testing purposes
show_controlbox_by_default: true, show_controlbox_by_default: true,
play_sounds: true,
}); });
}); });
</script> </script>
......
...@@ -241,7 +241,6 @@ ...@@ -241,7 +241,6 @@
converse.initialize({ converse.initialize({
// Please use this connection manager only for testing purposes // Please use this connection manager only for testing purposes
bosh_service_url: 'https://conversejs.org/http-bind/', bosh_service_url: 'https://conversejs.org/http-bind/',
keepalive: true,
message_carbons: true, message_carbons: true,
play_sounds: true, play_sounds: true,
roster_groups: true, roster_groups: true,
......
...@@ -240,14 +240,14 @@ ...@@ -240,14 +240,14 @@
hide_offline_users: false, hide_offline_users: false,
include_offline_state: false, include_offline_state: false,
jid: undefined, jid: undefined,
keepalive: false, keepalive: true,
locked_domain: undefined, locked_domain: undefined,
message_carbons: false, message_carbons: false,
message_storage: 'session', message_storage: 'session',
password: undefined, password: undefined,
prebind_url: null, prebind_url: null,
rid: undefined, rid: undefined,
roster_groups: false, roster_groups: true,
show_only_online_users: false, show_only_online_users: false,
sid: undefined, sid: undefined,
storage: 'session', storage: 'session',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment