mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 06:54:54 -04:00
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>
This commit is contained in:
parent
d765ada84f
commit
7281591f4c
4 changed files with 35 additions and 24 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue