diff --git a/src/socket.io/topics/unread.js b/src/socket.io/topics/unread.js index 586f9f7486..18bd862f93 100644 --- a/src/socket.io/topics/unread.js +++ b/src/socket.io/topics/unread.js @@ -14,25 +14,7 @@ module.exports = function(SocketTopics) { return callback(new Error('[[error:invalid-data]]')); } - if (!tids.length) { - return callback(); - } - tids = tids.filter(function(tid) { - return tid && utils.isNumber(tid); - }); - - topics.markAsRead(tids, socket.uid, function(err) { - if (err) { - return callback(err); - } - - topics.pushUnreadCount(socket.uid); - - for (var i=0; i +
+
Unread Settings
+
+
+
+ + +
+
+
+
+
Signature Settings