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 notifications: Add # before stream name in notification header.

evykassirer291df7ac2a66
diff --git a/static/js/notifications.js b/static/js/notifications.js
index 1b680dbaa00..e3a76a915bb 100644
--- a/static/js/notifications.js
+++ b/static/js/notifications.js
@@ -531,7 +531,7 @@ export function send_test_notification(content) {
// Handlebars templates that will do further escaping.
function get_message_header(message) {
if (message.type === "stream") {
- return message.stream + " > " + message.topic;
+ return `#${message.stream} > ${message.topic}`;
}
if (message.display_recipient.length > 2) {
return $t(