mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-05 14:28:56 -04:00
Include the time of the create event in Spaces Summary. (#9928)
This is an update based on changes to MSC2946. The origin_server_ts of the m.room.create event is copied into the creation_ts field for each room returned from the spaces summary.
This commit is contained in:
parent
37623e3382
commit
d783880083
2 changed files with 2 additions and 0 deletions
|
@ -347,6 +347,7 @@ class SpaceSummaryHandler:
|
|||
stats["history_visibility"] == HistoryVisibility.WORLD_READABLE
|
||||
),
|
||||
"guest_can_join": stats["guest_access"] == "can_join",
|
||||
"creation_ts": create_event.origin_server_ts,
|
||||
"room_type": room_type,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue