fix(chat): support display name for deleted users
This commit is contained in:
parent
d26a2965d6
commit
68ce10d292
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ export class Chat {
|
|||
if (this.peer._ === 'user') {
|
||||
if (this.peer.lastName)
|
||||
return this.peer.firstName + ' ' + this.peer.lastName
|
||||
return this.peer.firstName!
|
||||
return this.peer.firstName ?? 'Deleted Account'
|
||||
} else {
|
||||
return this.peer.title
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue