Node.js based forum software built for the modern web
fix: uid filtering
Barış Soner Uşaklı72afc1806ee3
diff --git a/src/socket.io/helpers.js b/src/socket.io/helpers.jsindex 5e1f85cd66..9a54d87f99 100644--- a/src/socket.io/helpers.js+++ b/src/socket.io/helpers.js@@ -29,7 +29,7 @@ SocketHelpers.notifyNew = function (uid, type, result) {user.getUidsFromSet('users:online', 0, -1, next);},function (uids, next) {- uids = uids.filter(uid => parseInt(uid, 10) !== uid);+ uids = uids.filter(toUid => parseInt(toUid, 10) !== uid);privileges.topics.filterUids('read', tid, uids, next);},function (uids, next) {