From 17ce482c9f2a91af0ce75f4238c8e45642d51953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 22 Sep 2018 01:28:13 -0400 Subject: [PATCH] closes #6780 --- src/topics/unread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics/unread.js b/src/topics/unread.js index cb197fac21..4990fc1fe7 100644 --- a/src/topics/unread.js +++ b/src/topics/unread.js @@ -66,7 +66,7 @@ module.exports = function (Topics) { Topics.getUnreadTids = function (params, callback) { var uid = parseInt(params.uid, 10); - if (uid === 0) { + if (uid <= 0) { return callback(null, []); }