removing the composer from core, out to its own plugin: nodebb-plugin-composer-default, closes #3288

This commit is contained in:
Julian Lam
2015-07-03 16:41:21 -04:00
parent 491d376fb4
commit 48af82659e
15 changed files with 99 additions and 1566 deletions

View File

@@ -390,7 +390,8 @@ var db = require('./database'),
bodyShort: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',
bodyLong: messageObj.content,
nid: 'chat_' + fromuid + '_' + touid,
from: fromuid
from: fromuid,
path: '/chats/' + messageObj.fromUser.username
}, function(err, notification) {
if (!err && notification) {
notifications.push(notification, [touid], callback);