summary refs log tree commit diff
path: root/synapse/handlers/event_auth.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2022-06-10 11:01:55 +0100
committerRichard van der Hoff <richard@matrix.org>2022-06-12 23:13:10 +0100
commitc1b28b8842849a2b3e62025d378997861c041932 (patch)
treeb7f15b5bfb95937089dbe8741d7426f1e5c5d0a6 /synapse/handlers/event_auth.py
parentRemove `room_version` param from `check_auth_rules_for_event` (diff)
downloadsynapse-c1b28b8842849a2b3e62025d378997861c041932.tar.xz
Remove redundant `room_version` param from `check_auth_rules_from_context`
It's now implied by the room_version property on the event.
Diffstat (limited to 'synapse/handlers/event_auth.py')
-rw-r--r--synapse/handlers/event_auth.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/handlers/event_auth.py b/synapse/handlers/event_auth.py
index 7bbb833f30..ed4149bd58 100644
--- a/synapse/handlers/event_auth.py
+++ b/synapse/handlers/event_auth.py
@@ -48,7 +48,6 @@ class EventAuthHandler:
 
     async def check_auth_rules_from_context(
         self,
-        room_version_obj: RoomVersion,
         event: EventBase,
         context: EventContext,
     ) -> None: