fixed socket notifications for new posts

v1.18.x
psychobunny 12 years ago
parent 4b32089367
commit 9e23279459

@ -117,7 +117,7 @@ var RDB = require('./redis.js'),
var timestamp = new Date().getTime(); var timestamp = new Date().getTime();
socket.in('topic_' + tid).emit('event:new_post', { io.sockets.in('topic_' + tid).emit('event:new_post', {
'posts' : [ 'posts' : [
{ {
'pid' : pid, 'pid' : pid,

Loading…
Cancel
Save