Node.js based forum software built for the modern web
fix typo in groups.join
barisusakli5fe2ebf660af
diff --git a/src/socket.io/groups.js b/src/socket.io/groups.jsindex 54b569f3fd..dc8ec8c51a 100644--- a/src/socket.io/groups.js+++ b/src/socket.io/groups.js@@ -47,7 +47,7 @@ SocketGroups.join = function(socket, data, callback) {return callback(new Error('[[error:join-requests-disabled]]'));}- if (!results.groupData.isPrivate || results.isAdmin) {+ if (!results.groupData.private || results.isAdmin) {groups.join(data.groupName, socket.uid, callback);} else {groups.requestMembership(data.groupName, socket.uid, callback);