mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
closes #2052
This commit is contained in:
@@ -535,7 +535,7 @@ accountsController.getChats = function(req, res, next) {
|
||||
function(toUid, next) {
|
||||
async.parallel({
|
||||
toUser: async.apply(user.getUserFields, toUid, ['uid', 'username']),
|
||||
messages: async.apply(messaging.getMessages, req.user.uid, toUid, false)
|
||||
messages: async.apply(messaging.getMessages, req.user.uid, toUid, 'day', false)
|
||||
}, next);
|
||||
}
|
||||
], function(err, data) {
|
||||
|
||||
Reference in New Issue
Block a user