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.

rendered_markdown: Add support for rendering of user group silent mention.

akshatdalton9e5f2f841f28
diff --git a/static/js/rendered_markdown.js b/static/js/rendered_markdown.js
index 8bd66d015c4..3727ab0cfb4 100644
--- a/static/js/rendered_markdown.js
+++ b/static/js/rendered_markdown.js
@@ -118,7 +118,7 @@ export const update_elements = (content) => {
if (user_group_id && !$(this).find(".highlight").length) {
// Edit the mention to show the current name for the
// user group, if its not in search.
- $(this).text("@" + user_group.name);
+ set_name_in_mention_element(this, user_group.name);
}
});