From b81fd81af639509cc280d616d5c46a0b11564bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 3 Jan 2023 14:13:01 -0500 Subject: [PATCH] feat: fire filter:topics.getUnreadTids even if there are no urnead topics --- 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 f0ab2a5c36..d4252c321d 100644 --- a/src/topics/unread.js +++ b/src/topics/unread.js @@ -67,7 +67,7 @@ module.exports = function (Topics) { } const data = await getTids(params); - if (uid <= 0 || !data.tids || !data.tids.length) { + if (uid <= 0) { return data; }