mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Allow unknown groups
Save groups even if we've never heard of them. Previously we would fail to save due to a missing 'type' attribute.
This commit is contained in:
@@ -180,7 +180,11 @@
|
||||
},
|
||||
|
||||
getTitle: function() {
|
||||
return this.get('name') || this.get('members') || this.id;
|
||||
if (this.isPrivate()) {
|
||||
return this.get('name') || this.id;
|
||||
} else {
|
||||
return this.get('name') || 'Unknown group';
|
||||
}
|
||||
},
|
||||
|
||||
getNumber: function() {
|
||||
|
||||
Reference in New Issue
Block a user