Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
navbar: Tweak Combined feed description for spectators.
Kislay Verma03f81eef074d
diff --git a/web/src/message_view_header.ts b/web/src/message_view_header.tsindex 843a038f4a3..5dc3fcac039 100644--- a/web/src/message_view_header.ts+++ b/web/src/message_view_header.ts@@ -70,11 +70,19 @@ function get_message_view_header_context(filter: Filter | undefined): MessageVie// TODO: This ideally doesn't need a special case, we can just use// `filter.get_description` for it.if (filter === undefined || filter.is_in_home()) {+ let description;+ if (page_params.is_spectator) {+ description = $t({+ defaultMessage: "All your messages.",+ });+ } else {+ description = $t({+ defaultMessage: "All your messages except those in muted channels and topics.",+ });+ }return {title: $t({defaultMessage: "Combined feed"}),- description: $t({- defaultMessage: "All your messages except those in muted channels and topics.",- }),+ description,zulip_icon: "all-messages",link: "/help/combined-feed",};