mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
added icon container styles back to ACP, proper hooking-up of iconSelect module in group settings panel, #2588
This commit is contained in:
@@ -10,7 +10,7 @@ SocketGroups.join = function(socket, data, callback) {
|
||||
return callback(new Error('[[error:invalid-data]]'));
|
||||
}
|
||||
|
||||
if (meta.config.allowPrivateGroups) {
|
||||
if (meta.config.allowPrivateGroups !== '0') {
|
||||
groups.isPrivate(data.groupName, function(err, isPrivate) {
|
||||
if (isPrivate) {
|
||||
groups.requestMembership(data.groupName, socket.uid, callback);
|
||||
|
||||
Reference in New Issue
Block a user