mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
rendered_markdown: Add support for rendering of user group silent mention.
Earlier, the text in silently mentioned user group was rendered as: `@user-group` which is fixed by this commit and now it rendered as: `user-group`.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user