mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Conversation.getTitle(): return 'unknown contact' if no data
This commit is contained in:
@@ -2320,9 +2320,9 @@
|
||||
|
||||
getTitle() {
|
||||
if (this.isPrivate()) {
|
||||
return this.get('name') || this.getNumber();
|
||||
return this.get('name') || this.getNumber() || i18n('unknownContact');
|
||||
}
|
||||
return this.get('name') || 'Unknown group';
|
||||
return this.get('name') || i18n('unknownGroup');
|
||||
},
|
||||
|
||||
getProfileName() {
|
||||
|
||||
Reference in New Issue
Block a user