mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-30 03:09:53 +01:00
more cleanup and changes to topics
This commit is contained in:
@@ -217,7 +217,6 @@ SocketPosts.getFavouritedUsers = function(socket, pid, callback) {
|
||||
callback(null, "");
|
||||
}
|
||||
|
||||
console.log(data);
|
||||
var max = 5; //hardcoded
|
||||
var usernames = "";
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ SocketTopics.loadMore = function(socket, data, callback) {
|
||||
|
||||
async.parallel({
|
||||
posts: function(next) {
|
||||
topics.getTopicPosts(data.tid, start, end, socket.uid, next);
|
||||
topics.getTopicPosts(data.tid, start, end, socket.uid, false, next);
|
||||
},
|
||||
privileges: function(next) {
|
||||
threadTools.privileges(data.tid, socket.uid, next);
|
||||
|
||||
Reference in New Issue
Block a user