joining bug
This commit is contained in:
parent
0090f64d8e
commit
c002372967
@ -523,7 +523,7 @@ Meteor.methods({
|
|||||||
});
|
});
|
||||||
if (Meteor.user() !== null &&
|
if (Meteor.user() !== null &&
|
||||||
found !== null &&
|
found !== null &&
|
||||||
pass === found.code &&
|
(pass === found.code || found.privacy === false) &&
|
||||||
(found.status || found.admin === Meteor.userId()) &&
|
(found.status || found.admin === Meteor.userId()) &&
|
||||||
!_.contains(prof.classes, change)) {
|
!_.contains(prof.classes, change)) {
|
||||||
var foundsubs = found.subscribers;
|
var foundsubs = found.subscribers;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user