mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 17:14:49 -04:00
Merge pull request #4482 from matrix-org/erikj/event_auth_room_version
Pass through room version to event auth
This commit is contained in:
commit
f1a04462eb
11 changed files with 71 additions and 28 deletions
|
@ -123,7 +123,10 @@ class RoomCreationHandler(BaseHandler):
|
|||
token_id=requester.access_token_id,
|
||||
)
|
||||
)
|
||||
yield self.auth.check_from_context(tombstone_event, tombstone_context)
|
||||
old_room_version = yield self.store.get_room_version(old_room_id)
|
||||
yield self.auth.check_from_context(
|
||||
old_room_version, tombstone_event, tombstone_context,
|
||||
)
|
||||
|
||||
yield self.clone_existing_room(
|
||||
requester,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue