smacks: Set enable_smacks to true as default

This commit is contained in:
JC Brand 2019-12-03 13:54:28 +01:00
parent c3447dd205
commit dffe3d1a26
3 changed files with 5 additions and 3 deletions

View File

@ -2,9 +2,10 @@
## 6.0.0 (Unreleased) ## 6.0.0 (Unreleased)
- [enable_smacks](https://conversejs.org/docs/html/configuration.html#enable-smacks) is not set to `true` by default.
- Refactor some presence and status handling code from `converse-core` into `@converse/headless/converse-status`.
- Add support for [XEP-0424 Message Retraction](http://localhost:3080/extensions/xep-0424.html) - Add support for [XEP-0424 Message Retraction](http://localhost:3080/extensions/xep-0424.html)
- Add support for [XEP-0425 Message Moderation](http://localhost:3080/extensions/xep-0425.html) - Add support for [XEP-0425 Message Moderation](http://localhost:3080/extensions/xep-0425.html)
- Refactor some presence and status handling code from `converse-core` into `@converse/headless/converse-status`.
- New API [\_converse.api.headlines](https://conversejs.org/docs/html/api/-_converse.api.headlines.html#.get) - New API [\_converse.api.headlines](https://conversejs.org/docs/html/api/-_converse.api.headlines.html#.get)
- New config option [allow_message_retraction](https://conversejs.org/docs/html/configuration.html#allow-message-retraction) - New config option [allow_message_retraction](https://conversejs.org/docs/html/configuration.html#allow-message-retraction)
- New config option [muc-show-logs-before-join](https://conversejs.org/docs/html/configuration.html#muc-show-logs-before-join) - New config option [muc-show-logs-before-join](https://conversejs.org/docs/html/configuration.html#muc-show-logs-before-join)

View File

@ -29,7 +29,7 @@ converse.plugins.add('converse-smacks', {
// Refer to docs/source/configuration.rst for explanations of these // Refer to docs/source/configuration.rst for explanations of these
// configuration settings. // configuration settings.
_converse.api.settings.update({ _converse.api.settings.update({
'enable_smacks': false, 'enable_smacks': true,
'smacks_max_unacked_stanzas': 5, 'smacks_max_unacked_stanzas': 5,
}); });

View File

@ -228,8 +228,9 @@
'animate': false, 'animate': false,
'auto_subscribe': false, 'auto_subscribe': false,
'bosh_service_url': 'montague.lit/http-bind', 'bosh_service_url': 'montague.lit/http-bind',
'loglevel': 'warn', 'enable_smacks': false,
'i18n': 'en', 'i18n': 'en',
'loglevel': 'warn',
'no_trimming': true, 'no_trimming': true,
'play_sounds': false, 'play_sounds': false,
'use_emojione': false, 'use_emojione': false,