mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
Bugfix: use sorted set to get user followers in sendTopicNotificationToFollowers
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user