Skip to content

Commit

Permalink
dict batched_auth_events
Browse files Browse the repository at this point in the history
  • Loading branch information
ggogel committed Mar 5, 2024
1 parent 91695f4 commit dfac2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/event_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ async def check_state_independent_auth_rules(
# 2. Reject if event has auth_events that: ...
auth_events: MutableMapping[str, "EventBase"]
if batched_auth_events:
auth_events = batched_auth_events
auth_events = dict(batched_auth_events)
needed_auth_event_ids = [
event_id
for event_id in event.auth_event_ids()
Expand Down

0 comments on commit dfac2ca

Please sign in to comment.