mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
fix favourite infinite scroll
This commit is contained in:
@@ -422,7 +422,7 @@ SocketPosts.loadMoreFavourites = function(socket, data, callback) {
|
|||||||
var start = parseInt(data.after, 10),
|
var start = parseInt(data.after, 10),
|
||||||
end = start + 9;
|
end = start + 9;
|
||||||
|
|
||||||
posts.getPostsFromSet('uid:' + socket.uid + ':posts', socket.uid, start, end, callback);
|
posts.getPostsFromSet('uid:' + socket.uid + ':favourites', socket.uid, start, end, callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
SocketPosts.loadMoreUserPosts = function(socket, data, callback) {
|
SocketPosts.loadMoreUserPosts = function(socket, data, callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user