mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
reverse infinite loading
This commit is contained in:
@@ -235,6 +235,10 @@ SocketPosts.getPidPage = function(socket, pid, callback) {
|
||||
posts.getPidPage(pid, socket.uid, callback);
|
||||
}
|
||||
|
||||
SocketPosts.getPidIndex = function(socket, pid, callback) {
|
||||
posts.getPidIndex(pid, callback);
|
||||
}
|
||||
|
||||
SocketPosts.flag = function(socket, pid, callback) {
|
||||
if (!socket.uid) {
|
||||
return callback(new Error('not-logged-in'));
|
||||
|
||||
Reference in New Issue
Block a user