@ -501,6 +501,9 @@ accountsController.getChats = function(req, res, next) {
});
}
// Limit returned chats
chats.length = 20;
res.render('chats', {
meta: res.locals.chatData,
chats: chats,