feat: fire filter:topics.getUnreadTids even if there are no urnead topics

This commit is contained in:
Barış Soner Uşaklı
2023-01-03 14:13:01 -05:00
parent eef5778466
commit b81fd81af6

View File

@@ -67,7 +67,7 @@ module.exports = function (Topics) {
} }
const data = await getTids(params); const data = await getTids(params);
if (uid <= 0 || !data.tids || !data.tids.length) { if (uid <= 0) {
return data; return data;
} }