v1.18.x
pichalite 9 years ago
parent a81285befa
commit e23377580d

@ -96,7 +96,7 @@ module.exports = function(Messaging) {
message: messageObj, message: messageObj,
site_title: meta.config.title || 'NodeBB', site_title: meta.config.title || 'NodeBB',
url: nconf.get('url'), url: nconf.get('url'),
fromUserslug: utils.slugify(messageObj.fromUser.username) roomId: messageObj.roomId
}, next); }, next);
}, callback); }, callback);
}); });

@ -3,7 +3,7 @@
<p>{summary}:</p> <p>{summary}:</p>
<blockquote>{message.content}</blockquote> <blockquote>{message.content}</blockquote>
<a href="{url}/chats/{fromUserslug}">[[email:notif.chat.cta]]</a> <a href="{url}/chats/{roomId}">[[email:notif.chat.cta]]</a>
<!-- IMPORT emails/partials/footer.tpl --> <!-- IMPORT emails/partials/footer.tpl -->

Loading…
Cancel
Save