mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 13:40:47 +00:00
Fix resolveConflicts for groups
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user