mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix for mismatch between favourite count and number of people in favourited seT
This commit is contained in:
@@ -170,6 +170,7 @@ SocketPosts.getPrivileges = function(socket, pid, callback) {
|
||||
};
|
||||
|
||||
SocketPosts.getFavouritedUsers = function(socket, pid, callback) {
|
||||
|
||||
favourites.getFavouritedUidsByPids([pid], function(data) {
|
||||
var max = 5; //hardcoded
|
||||
var usernames = "";
|
||||
|
||||
Reference in New Issue
Block a user