don't show identifier if already shown in name
This commit is contained in:
parent
4ffefa0473
commit
7f460caf6b
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ export class PreviewViewModel extends ViewModel {
|
|||
this.memberCount = publicRoom?.num_joined_members;
|
||||
this.topic = publicRoom?.topic;
|
||||
this.identifier = publicRoom?.canonical_alias || link.identifier;
|
||||
if (this.identifier === this.name) {
|
||||
this.identifier = null;
|
||||
}
|
||||
}
|
||||
|
||||
_setNoPreview(link) {
|
||||
|
|
Loading…
Reference in a new issue