mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
In rare cases, a group has no members
This commit is contained in:
@@ -157,8 +157,9 @@
|
||||
if (this.isPrivate()) {
|
||||
this.contactCollection.reset([this]);
|
||||
} else {
|
||||
var members = this.get('members') || [];
|
||||
this.contactCollection.reset(
|
||||
this.get('members').map(function(number) {
|
||||
members.map(function(number) {
|
||||
var c = this.collection.add({id: number, type: 'private'});
|
||||
c.fetch();
|
||||
return c;
|
||||
|
||||
Reference in New Issue
Block a user