Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Update text on warning banner when user is not allow to dm.

Joelute25841ad85227
diff --git a/web/src/compose_recipient.js b/web/src/compose_recipient.js
index 98f0122fd65..ec2e7e4e6fb 100644
--- a/web/src/compose_recipient.js
+++ b/web/src/compose_recipient.js
@@ -114,7 +114,7 @@ export function get_posting_policy_error_message() {
const recipients = compose_pm_pill.get_user_ids_string();
if (!people.user_can_direct_message(recipients)) {
return $t({
- defaultMessage: "Direct messages are disabled in this organization.",
+ defaultMessage: "You are not allowed to send direct messages in this organization.",
});
}
return "";