a little extra caution

This commit is contained in:
Bruno Windels 2020-09-14 15:44:18 +02:00
parent aa5d55bbf2
commit 8555fd5f18

View file

@ -24,6 +24,6 @@ export class RoomNameTile extends SimpleTile {
get announcement() {
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}"`
}
}