mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
compose_actions: Use people.get_mention_syntax in reply_with_mention.
This commit is contained in:
committed by
Tim Abbott
parent
b18f9def06
commit
38cddf7d54
@@ -336,7 +336,7 @@ exports.respond_to_message = function (opts) {
|
||||
exports.reply_with_mention = function (opts) {
|
||||
exports.respond_to_message(opts);
|
||||
var message = current_msg_list.selected_message();
|
||||
var mention = '@**' + message.sender_full_name + '**';
|
||||
var mention = people.get_mention_syntax(message.sender_full_name, message.sender_id);
|
||||
compose_ui.insert_syntax_and_focus(mention);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user