socket rooms! and almost finished rep (socket updates) except for one small bug where current_user isnt being pulled

This commit is contained in:
psychobunny
2013-05-03 19:31:21 +00:00
parent 5e48b4cdc5
commit bcb672e1fe
6 changed files with 75 additions and 33 deletions

View File

@@ -173,7 +173,7 @@ passport.deserializeUser(function(uid, done) {
case 'topic' :
global.modules.posts.get(function(data) {
res.send(JSON.stringify(data));
}, req.params.id);
}, req.params.id, req.user.uid);
break;
default :
res.send('{}');