Fix reply notifications with mentions

pull/1/head
yflory 5 years ago
parent 74eb4ffc6d
commit 2cf46328a5

@ -122,7 +122,7 @@ define([
var data = others[id]; var data = others[id];
Env.common.mailbox.sendTo("COMMENT_REPLY", { Env.common.mailbox.sendTo("COMMENT_REPLY", {
channel: privateData.channel, channel: privateData.channel,
comment: data.comment, comment: data.comment.replace(/<[^>]*>/g, ''),
content: data.content content: data.content
}, { }, {
channel: data.notifications, channel: data.notifications,
@ -928,4 +928,4 @@ define([
}; };
return Comments; return Comments;
}); });

Loading…
Cancel
Save