mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-05 18:29:12 +02:00
fix tests :dull:
This commit is contained in:
@@ -313,7 +313,7 @@ var userNotifications = require('./user/notifications');
|
||||
};
|
||||
|
||||
Messaging.generateUsernames = function (users, excludeUid) {
|
||||
users = users.filter(function(user) {
|
||||
users = users.filter(function (user) {
|
||||
return user && parseInt(user.uid, 10) !== excludeUid;
|
||||
});
|
||||
return users.map(function (user) {
|
||||
|
||||
Reference in New Issue
Block a user