Group calling enhancements

This commit is contained in:
Josh Perez 2020-11-17 10:07:53 -05:00 committed by Josh Perez
parent 72e4ec95ce
commit 1f0c091e13
27 changed files with 1038 additions and 451 deletions

View file

@ -3959,7 +3959,7 @@ export class ConversationModel extends window.Backbone.Model<
return this.get('name') || window.i18n('unknownGroup');
}
getProfileName(): string | null {
getProfileName(): string | undefined {
if (this.isPrivate()) {
return Util.combineNames(
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
@ -3967,7 +3967,8 @@ export class ConversationModel extends window.Backbone.Model<
this.get('profileFamilyName')
);
}
return null;
return undefined;
}
getNumber(): string {