Conversation.getTitle(): return 'unknown contact' if no data
This commit is contained in:
parent
ba6cb653bf
commit
6afa6db5be
2 changed files with 6 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue