From e23377580d3c02c7fa9148333e6e0e4685008e22 Mon Sep 17 00:00:00 2001 From: pichalite Date: Fri, 8 Apr 2016 23:55:10 +0000 Subject: [PATCH] fixes #4506 --- src/messaging/notifications.js | 2 +- src/views/emails/notif_chat.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]]