Fix types
This commit is contained in:
parent
b2162c3be9
commit
5fff64f128
2 changed files with 2 additions and 3 deletions
|
@ -79,8 +79,7 @@ export default class HTMLExporter extends Exporter {
|
|||
const creatorName = this.room?.getMember(creator)?.rawDisplayName || creator;
|
||||
const exporter = this.matrixClient.getUserId();
|
||||
const exporterName = this.room?.getMember(exporter)?.rawDisplayName;
|
||||
const topic = this.room.currentState.getStateEvents(EventType.RoomTopic, "")?.getContent()?.topic
|
||||
|| this.room.topic || "";
|
||||
const topic = this.room.currentState.getStateEvents(EventType.RoomTopic, "")?.getContent()?.topic || "";
|
||||
const createdText = _t("%(creatorName)s created this room.", {
|
||||
creatorName,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue