mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 08:34:12 -04:00
Remove redundant room_version
param from check_auth_rules_from_context
It's now implied by the room_version property on the event.
This commit is contained in:
parent
0d9d36b15c
commit
c1b28b8842
4 changed files with 8 additions and 35 deletions
|
@ -226,10 +226,9 @@ class RoomCreationHandler:
|
|||
},
|
||||
},
|
||||
)
|
||||
old_room_version = await self.store.get_room_version(old_room_id)
|
||||
validate_event_for_room_version(tombstone_event)
|
||||
await self._event_auth_handler.check_auth_rules_from_context(
|
||||
old_room_version, tombstone_event, tombstone_context
|
||||
tombstone_event, tombstone_context
|
||||
)
|
||||
|
||||
# Upgrade the room
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue