mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
fix references
This commit is contained in:
@@ -17,10 +17,10 @@ module.exports = function(SocketTopics) {
|
|||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
Topics.pushUnreadCount(uid);
|
topics.pushUnreadCount(socket.uid);
|
||||||
|
|
||||||
for (var i=0; i<tids.length; ++i) {
|
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);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
Topics.pushUnreadCount(uid);
|
topics.pushUnreadCount(socket.uid);
|
||||||
|
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user