diff options
author | Jason Little <realtyem@gmail.com> | 2023-03-08 06:22:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 06:22:27 -0600 |
commit | 0cf5e80870de37cc5115447f5a06d785f5cf8718 (patch) | |
tree | 8c705ee2208b5842d99e3828b41c1d8ff1cdbb32 /synapse/handlers/room.py | |
parent | Remove condition based on number of ports (diff) | |
parent | More speedups/fixes to creating batched events (#15195) (diff) | |
download | synapse-0cf5e80870de37cc5115447f5a06d785f5cf8718.tar.xz |
Merge branch 'develop' into comp-worker-shorthand
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index b1784638f4..32451670f3 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -1123,7 +1123,9 @@ class RoomCreationHandler: event_dict, prev_event_ids=prev_event, depth=depth, - state_map=state_map, + # Take a copy to ensure each event gets a unique copy of + # state_map since it is modified below. + state_map=dict(state_map), for_batch=for_batch, ) |