remove extraneous comment
This commit is contained in:
@@ -442,7 +442,6 @@ api.join = function(req, res, next) {
|
||||
|
||||
if (!_.contains(group.members, user._id)){
|
||||
group.members.push(user._id);
|
||||
//Can we have someone joing without an invite? I added this for testing since we join users without an invite
|
||||
if (group.invites.length > 0) {
|
||||
group.invites.splice(_.indexOf(group.invites, user._id), 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user