Fix resolveConflicts for groups

This commit is contained in:
lilia 2015-03-23 18:36:38 -07:00
parent 6c3ac2de02
commit fdb0935d6a

View file

@ -229,7 +229,7 @@
resolveConflicts: function(number) {
if (this.isPrivate()) {
number = this.id;
} else if (!_.find(this.get('members'), number)) {
} else if (!_.include(this.get('members'), number)) {
throw 'Tried to resolve conflicts for a unknown group member';
}