mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
change the way group member posts are stored
This commit is contained in:
@@ -33,6 +33,9 @@ module.exports = function (redisClient, module) {
|
||||
|
||||
module.sortedSetsAdd = function (keys, score, value, callback) {
|
||||
callback = callback || function () {};
|
||||
if (!Array.isArray(keys) || !keys.length) {
|
||||
return callback();
|
||||
}
|
||||
var multi = redisClient.multi();
|
||||
|
||||
for (var i = 0; i < keys.length; i += 1) {
|
||||
|
||||
Reference in New Issue
Block a user