Make keepalive and roster_groups true by default.

This commit is contained in:
JC Brand 2017-02-17 08:54:58 +01:00
parent ef7a0df46e
commit a1c156456d
4 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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>

View File

@ -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,

View File

@ -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',