mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 17:35:46 +01:00
added userslug
This commit is contained in:
@@ -149,7 +149,7 @@ module.exports = function(Topics) {
|
|||||||
function(next) {
|
function(next) {
|
||||||
async.eachLimit(followers, 3, function(toUid, next) {
|
async.eachLimit(followers, 3, function(toUid, next) {
|
||||||
async.parallel({
|
async.parallel({
|
||||||
userData: async.apply(user.getUserFields, toUid, ['username']),
|
userData: async.apply(user.getUserFields, toUid, ['username', 'userslug']),
|
||||||
userSettings: async.apply(user.getSettings, toUid)
|
userSettings: async.apply(user.getSettings, toUid)
|
||||||
}, function(err, data) {
|
}, function(err, data) {
|
||||||
if (data.userSettings.hasOwnProperty('sendPostNotifications') && data.userSettings.sendPostNotifications) {
|
if (data.userSettings.hasOwnProperty('sendPostNotifications') && data.userSettings.sendPostNotifications) {
|
||||||
|
|||||||
Reference in New Issue
Block a user