Skip to content

Node.js based forum software built for the modern web

fix tests :dull:

barisusaklic0db7798b9e5
diff --git a/src/messaging.js b/src/messaging.js
index 2c0649b8d0..a88ceabbbe 100644
--- a/src/messaging.js
+++ b/src/messaging.js
@@ -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) {