Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Update error shown on sending message with no topic.
Sahil Batrad83b50d39fd1
diff --git a/frontend_tests/node_tests/compose_validate.js b/frontend_tests/node_tests/compose_validate.jsindex fb90ea38d1c..8d4bd9710b4 100644--- a/frontend_tests/node_tests/compose_validate.js+++ b/frontend_tests/node_tests/compose_validate.js@@ -245,7 +245,7 @@ test_ui("validate", ({override, mock_template}) => {assert.ok(!compose_validate.validate());assert.equal($("#compose-error-msg").html(),- $t_html({defaultMessage: "Please specify a topic"}),+ $t_html({defaultMessage: "Topics are required in this organization"}),);});diff --git a/static/js/compose_validate.js b/static/js/compose_validate.jsindex 0ebce6b64b8..d8c7873ce7c 100644--- a/static/js/compose_validate.js+++ b/static/js/compose_validate.js@@ -526,7 +526,7 @@ function validate_stream_message() {const topic = compose_state.topic();if (topic === "") {compose_error.show(- $t_html({defaultMessage: "Please specify a topic"}),+ $t_html({defaultMessage: "Topics are required in this organization"}),$("#stream_message_recipient_topic"),);return false;