Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Fix exception trying to mention @all in DMs.
Tim Abbott8ad2e10cfe05
diff --git a/web/src/composebox_typeahead.js b/web/src/composebox_typeahead.jsindex b0fdeb769ed..9c74207871f 100644--- a/web/src/composebox_typeahead.js+++ b/web/src/composebox_typeahead.js@@ -877,7 +877,7 @@ export function content_typeahead_selected(item, event) {item.user_id,is_silent,);- if (!is_silent) {+ if (!is_silent && !item.is_broadcast) {compose_validate.warn_if_mentioning_unsubscribed_user(item, $textbox);mention_text = compose_validate.convert_mentions_to_silent_in_direct_messages(mention_text,