Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Use room_stats_state.room_type column instead of fetching m.room.create event #13130

@squahtx

Description

@squahtx

#13031 introduced a room_type column in room_stats_state. There are now one or two places where we can avoid fetching m.room.create events and just use the new column instead.

Searching for EventContentFields.ROOM_TYPE or "room_type" ought to find them all.

eg. if we make get_room_with_stats return room_type, we can avoid fetching the m.room.create event in RoomSummaryHandler._build_room_entry.

Metadata

Metadata

Assignees

Labels

A-SpacesHierarchical organization of roomsP4(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patchesS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions