diff --git a/src/user/notifications.js b/src/user/notifications.js index fe9ffc80b8..b92df0ce68 100644 --- a/src/user/notifications.js +++ b/src/user/notifications.js @@ -258,7 +258,7 @@ var async = require('async'), }; UserNotifications.sendTopicNotificationToFollowers = function(uid, topicData, postData) { - db.getSetMembers('followers:' + uid, function(err, followers) { + db.getSortedSetRange('followers:' + uid, 0, -1, function(err, followers) { if (err || !Array.isArray(followers) || !followers.length) { return; }