diff options
author | David Robertson <davidr@element.io> | 2022-07-15 13:20:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 12:20:47 +0000 |
commit | 7281591f4cf81db2fa9e00187d9a91179c6e6a98 (patch) | |
tree | 3e5e5711687d2834f1f894f3a7f5f9548ec336ac /synapse/events | |
parent | Update locked frozendict version to 2.3.2 (#13284) (diff) | |
download | synapse-7281591f4cf81db2fa9e00187d9a91179c6e6a98.tar.xz |
Use state before join to determine if we `_should_perform_remote_join` (#13270)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py index 98c203ada0..4caf6cbdee 100644 --- a/synapse/events/builder.py +++ b/synapse/events/builder.py @@ -120,7 +120,7 @@ class EventBuilder: The signed and hashed event. """ if auth_event_ids is None: - state_ids = await self._state.get_current_state_ids( + state_ids = await self._state.compute_state_after_events( self.room_id, prev_event_ids ) auth_event_ids = self._event_auth_handler.compute_auth_events( |