diff --git a/src/messaging/notifications.js b/src/messaging/notifications.js index c93cb16590..61f4f5d9ce 100644 --- a/src/messaging/notifications.js +++ b/src/messaging/notifications.js @@ -96,7 +96,7 @@ module.exports = function(Messaging) { message: messageObj, site_title: meta.config.title || 'NodeBB', url: nconf.get('url'), - fromUserslug: utils.slugify(messageObj.fromUser.username) + roomId: messageObj.roomId }, next); }, callback); }); diff --git a/src/views/emails/notif_chat.tpl b/src/views/emails/notif_chat.tpl index a0669f3bac..f1d5a5fc42 100644 --- a/src/views/emails/notif_chat.tpl +++ b/src/views/emails/notif_chat.tpl @@ -3,7 +3,7 @@

{summary}:

{message.content}
-[[email:notif.chat.cta]] +[[email:notif.chat.cta]]