Try to appease the linter
parent
c557162592
commit
0d0d7a3e2c
|
@ -432,8 +432,8 @@ const toLocalRoom = (cli: MatrixClient, room: IHierarchyRoom, hierarchy: RoomHie
|
||||||
room_type: cliRoom.getType(),
|
room_type: cliRoom.getType(),
|
||||||
name: cliRoom.name,
|
name: cliRoom.name,
|
||||||
topic: cliRoom.currentState.getStateEvents(EventType.RoomTopic, "")?.getContent().topic,
|
topic: cliRoom.currentState.getStateEvents(EventType.RoomTopic, "")?.getContent().topic,
|
||||||
avatar_url: cliRoom.getMxcAvatarUrl() ?? undefined,
|
avatar_url: cliRoom.getMxcAvatarUrl(),
|
||||||
canonical_alias: cliRoom.getCanonicalAlias(),
|
canonical_alias: cliRoom.getCanonicalAlias() ?? undefined,
|
||||||
aliases: cliRoom.getAltAliases(),
|
aliases: cliRoom.getAltAliases(),
|
||||||
world_readable:
|
world_readable:
|
||||||
cliRoom.currentState.getStateEvents(EventType.RoomHistoryVisibility, "")?.getContent()
|
cliRoom.currentState.getStateEvents(EventType.RoomHistoryVisibility, "")?.getContent()
|
||||||
|
|
Loading…
Reference in New Issue