diff options
author | Eric Eastwood <erice@element.io> | 2021-09-01 10:27:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 16:27:58 +0100 |
commit | dc75fb7f0552e6a9903a7c173672c96610219ec0 (patch) | |
tree | 8fe524605f2d8e45629ccddc5d36c68e779f6f33 /synapse/handlers/federation.py | |
parent | Merge tag 'v1.42.0rc1' into develop (diff) | |
download | synapse-dc75fb7f0552e6a9903a7c173672c96610219ec0.tar.xz |
Populate `rooms.creator` field for easy lookup (#10697)
Part of https://github.com/matrix-org/synapse/pull/10566 - Fill in creator whenever we insert into the rooms table - Add background update to backfill any missing creator values
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index daf1d3bfb3..77df9185f6 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -507,6 +507,7 @@ class FederationHandler(BaseHandler): await self.store.upsert_room_on_join( room_id=room_id, room_version=room_version_obj, + auth_events=auth_chain, ) max_stream_id = await self._persist_auth_tree( |