mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
compose: Update error shown on sending message with no topic.
This commit updates the error message shown on sending a message with no topic in an organization with mandatory_topics setting set as true to match the error message in API.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user