mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
a little extra caution
This commit is contained in:
parent
aa5d55bbf2
commit
8555fd5f18
@ -24,6 +24,6 @@ export class RoomNameTile extends SimpleTile {
|
|||||||
|
|
||||||
get announcement() {
|
get announcement() {
|
||||||
const content = this._entry.content;
|
const content = this._entry.content;
|
||||||
return `${this._entry.displayName || this._entry.sender} named the room "${content.name}"`
|
return `${this._entry.displayName || this._entry.sender} named the room "${content?.name}"`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user