v1.18.x
barisusakli 10 years ago
parent 1511a0c3fe
commit bfaf50908d

@ -341,7 +341,8 @@ var db = require('./database'),
summary: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',
message: messageObj,
site_title: meta.config.title || 'NodeBB',
url: nconf.get('url') + '/chats/' + utils.slugify(messageObj.fromUser.username)
url: nconf.get('url'),
fromUserslug: utils.slugify(messageObj.fromUser.username)
});
}
});

@ -3,7 +3,7 @@
<p>{summary}:</p>
<blockquote>{message.content}</blockquote>
<a href="{url}">[[email:notif.chat.cta]]</a>
<a href="{url}/chats/{fromUserslug}">[[email:notif.chat.cta]]</a>
<p>
[[email:closing]]<br />

@ -4,7 +4,7 @@
{message.content}
[[email:notif.chat.cta]]: {url}
[[email:notif.chat.cta]]: {url}/chats/{fromUserslug}
[[email:closing]]

Loading…
Cancel
Save