mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
closes #4046
This commit is contained in:
@@ -25,7 +25,7 @@ require('./user/picture')(SocketUser);
|
||||
|
||||
SocketUser.exists = function(socket, data, callback) {
|
||||
if (data && data.username) {
|
||||
meta.userOrGroupExists(utils.slugify(data.username), callback);
|
||||
meta.userOrGroupExists(data.username, callback);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user