Update Inter to 3.19
This commit is contained in:
parent
206f65e67d
commit
2b5f0ffc10
22 changed files with 28 additions and 16 deletions
|
@ -4891,12 +4891,13 @@ export class ConversationModel extends window.Backbone
|
|||
});
|
||||
}
|
||||
|
||||
getTitle(): string {
|
||||
getTitle({ isShort = false }: { isShort?: boolean } = {}): string {
|
||||
if (isDirectConversation(this.attributes)) {
|
||||
const username = this.get('username');
|
||||
|
||||
return (
|
||||
this.get('name') ||
|
||||
(isShort ? this.get('profileName') : undefined) ||
|
||||
this.getProfileName() ||
|
||||
this.getNumber() ||
|
||||
(username && window.i18n('at-username', { username })) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue