Fix resolveConflicts for groups
This commit is contained in:
parent
6c3ac2de02
commit
fdb0935d6a
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue