mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix: don't return promise
This commit is contained in:
@@ -38,7 +38,8 @@ SocketGroups.join = function (socket, data, callback) {
|
||||
}
|
||||
|
||||
if (!meta.config.allowPrivateGroups) {
|
||||
return groups.join(data.groupName, socket.uid, callback);
|
||||
groups.join(data.groupName, socket.uid, callback);
|
||||
return;
|
||||
}
|
||||
|
||||
async.parallel({
|
||||
|
||||
Reference in New Issue
Block a user