Node.js based forum software built for the modern web
fix references
Barış Soner Uşaklı1a86e6839419
diff --git a/src/socket.io/topics/unread.js b/src/socket.io/topics/unread.jsindex cbcbceacec..3af0c811d7 100644--- a/src/socket.io/topics/unread.js+++ b/src/socket.io/topics/unread.js@@ -17,10 +17,10 @@ module.exports = function(SocketTopics) {return callback(err);}- Topics.pushUnreadCount(uid);+ topics.pushUnreadCount(socket.uid);for (var i=0; i<tids.length; ++i) {- Topics.markTopicNotificationsRead(tids[i], uid);+ topics.markTopicNotificationsRead(tids[i], socket.uid);}});};@@ -38,7 +38,7 @@ module.exports = function(SocketTopics) {return callback(err);}- Topics.pushUnreadCount(uid);+ topics.pushUnreadCount(socket.uid);callback();});