mirror of https://github.com/zulip/zulip.git
Replace "/me" with sender's name in notifications.
This fixes #2358. (imported from commit 579f217687bd2af80ab6919a72435336ab456410)
This commit is contained in:
parent
3d7c3a6de3
commit
e993b8fc40
|
@ -222,6 +222,10 @@ function process_notification(notification) {
|
|||
ui.replace_emoji_with_text(content);
|
||||
content = content.text();
|
||||
|
||||
if (message.is_me_message) {
|
||||
content = message.sender_full_name + content.slice(3);
|
||||
}
|
||||
|
||||
if (message.type === "private") {
|
||||
key = message.display_reply_to;
|
||||
other_recipients = message.display_reply_to;
|
||||
|
|
Loading…
Reference in New Issue