Node.js based forum software built for the modern web
perf: use index and get watching and everything above
Barış Soner Uşaklıe065409f030d
diff --git a/src/user/notifications.js b/src/user/notifications.jsindex 41cc54a6e4..2fab8c7555 100644--- a/src/user/notifications.js+++ b/src/user/notifications.js@@ -233,7 +233,7 @@ UserNotifications.sendTopicNotificationToFollowers = async function (uid, topicDdb.getSortedSetRangeByScore(`cid:${topicData.cid}:uid:watch:state`, 0, -1,categories.watchStates.watching,- categories.watchStates.watching+ '+inf'),]);