This repository has been 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
Labels
A-Spaces
Hierarchical organization of rooms
P4
(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patches
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
#13031 introduced a
room_type
column inroom_stats_state
. There are now one or two places where we can avoid fetchingm.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
returnroom_type
, we can avoid fetching them.room.create
event inRoomSummaryHandler._build_room_entry
.The text was updated successfully, but these errors were encountered: