From ccb5094d54ed615009f75d249f0c94be9dd0d332 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 4 Aug 2015 10:14:13 -0400 Subject: [PATCH] Increased contacts limit to 200, from 20 So that if you have more than 20 friends (or followed > 20 people), you will see all of them (up to 200, anyway...) in the "Contacts" portion of the `/chats` route. --- 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 64a6d26786..1049f06269 100644 --- a/src/controllers/accounts.js +++ b/src/controllers/accounts.js @@ -498,7 +498,7 @@ accountsController.getChats = function(req, res, next) { } async.parallel({ - contacts: async.apply(user.getFollowing, req.user.uid, 0, 19), + contacts: async.apply(user.getFollowing, req.user.uid, 0, 199), recentChats: async.apply(messaging.getRecentChats, req.user.uid, 0, 19) }, function(err, results) { if (err) {