From 3eb922393fec3818c3b4c1d3aeaf739014510028 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 15 Jan 2015 21:05:04 -0500 Subject: [PATCH] closes #2616 --- src/controllers/accounts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/accounts.js b/src/controllers/accounts.js index 63a2d91000..741de9a626 100644 --- a/src/controllers/accounts.js +++ b/src/controllers/accounts.js @@ -468,7 +468,7 @@ accountsController.getChats = function(req, res, next) { return helpers.notFound(req, res); } async.parallel({ - contacts: async.apply(user.getFollowing, req.user.uid), + contacts: async.apply(user.getFollowing, req.user.uid, 0, 19), recentChats: async.apply(messaging.getRecentChats, req.user.uid, 0, 19) }, function(err, results) { if (err) {