Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 990e4e3

Browse files
committed
add a comment
1 parent 2d18c8c commit 990e4e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

synapse/handlers/federation_event.py

+3
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,9 @@ async def _update_auth_events_and_context_for_auth(
14901490
# if we have missing events, we need to fetch those events from somewhere.
14911491
#
14921492
# we start by checking if they are in the store, and then try calling /event_auth/.
1493+
#
1494+
# TODO: this code is now redundant, since it should be impossible for us to
1495+
# get here without already having the auth events.
14931496
if missing_auth:
14941497
have_events = await self._store.have_seen_events(
14951498
event.room_id, missing_auth

0 commit comments

Comments
 (0)