getTitle: Return nothing instead of an invalid phone number

This commit is contained in:
Scott Nonnenberg 2023-06-09 10:46:59 -07:00 committed by GitHub
parent 22fb69bbb7
commit 62e648da27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 93 additions and 54 deletions

View file

@ -4908,7 +4908,7 @@ export class ConversationModel extends window.Backbone
return getProfileName(this.attributes);
}
getNumber(): string {
getNumber(): string | undefined {
return getNumber(this.attributes);
}