From 78b1a5c42a84a9cffe46e8b21909feb3d3f32c21 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Tue, 14 Apr 2020 14:49:09 +0200 Subject: [PATCH] Show send button by default --- CHANGES.md | 2 ++ docs/source/configuration.rst | 2 +- src/converse-chatview.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b04e3a6c7..ef62601e7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -29,6 +29,8 @@ Soon we'll deprecate the latter, so prepare now. - Remove the configuration setting `muc_show_join_leave_status`. The optional status message is no longer shown at all. - Support for XEP-0156 is now enabled by default (which means that [discover_connection_methods](https://conversejs.org/docs/html/configuration.html#discover-connection-methods) now has a default value of `true`). +- [show_send_button](https://conversejs.org/docs/html/configuration.html#show-send-button) now has a default value of `true`. +- New configuration setting [muc_hats_from_vcard](https://conversejs.org/docs/html/configuration.html#muc-hats-from-vcard). ## 6.0.0 (2020-01-09) diff --git a/docs/source/configuration.rst b/docs/source/configuration.rst index 920fccaf0..d7720906e 100644 --- a/docs/source/configuration.rst +++ b/docs/source/configuration.rst @@ -1656,7 +1656,7 @@ be turned off by setting this config variable to ``false``. show_send_button ---------------- -* Default: ``false`` +* Default: ``true`` Adds a button to the chat which can be clicked or tapped in order to send the message. diff --git a/src/converse-chatview.js b/src/converse-chatview.js index 5ec0cf9a4..89741c2f9 100644 --- a/src/converse-chatview.js +++ b/src/converse-chatview.js @@ -62,7 +62,7 @@ converse.plugins.add('converse-chatview', { api.settings.update({ 'auto_focus': true, 'message_limit': 0, - 'show_send_button': false, + 'show_send_button': true, 'show_retraction_warning': true, 'show_toolbar': true, 'visible_toolbar_buttons': {