reverse infinite loading

This commit is contained in:
Baris Soner Usakli
2014-02-17 20:57:12 -05:00
parent 7918a23835
commit 21367a1847
8 changed files with 180 additions and 138 deletions

View File

@@ -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'));