Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose_validate: Show error banner for archived streams.
sanchi-t1577d4557524
diff --git a/web/src/compose_validate.ts b/web/src/compose_validate.tsindex 683c40d4cd1..926749d84de 100644--- a/web/src/compose_validate.ts+++ b/web/src/compose_validate.ts@@ -569,6 +569,10 @@ export function validate_stream_message_mentions(opts: StreamWildcardOptions): b}export function validate_stream_message_address_info(sub: StreamSubscription): boolean {+ if (sub.is_archived) {+ compose_banner.show_stream_does_not_exist_error(sub.name);+ return false;+ }if (sub.subscribed) {return true;}