mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 14:24:10 -04:00
pass room version into FederationClient.send_join (#6854)
... which allows us to sanity-check the create event.
This commit is contained in:
parent
bce557175b
commit
b0c8bdd49d
3 changed files with 34 additions and 30 deletions
|
@ -1305,9 +1305,8 @@ class FederationHandler(BaseHandler):
|
|||
except ValueError:
|
||||
pass
|
||||
|
||||
event_format_version = room_version_obj.event_format
|
||||
ret = await self.federation_client.send_join(
|
||||
target_hosts, event, event_format_version
|
||||
target_hosts, event, room_version_obj
|
||||
)
|
||||
|
||||
origin = ret["origin"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue