mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
issue #1788 - start
This commit is contained in:
@@ -486,8 +486,11 @@ accountsController.getChats = function(req, res, next) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
console.log(res.locals.messages);
|
||||
|
||||
res.render('chats', {
|
||||
chats: chats
|
||||
chats: chats,
|
||||
messages: res.locals.messages || undefined
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user