mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
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.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user