Apply suggestions from code review

Co-authored-by: Eric Eastwood <madlittlemods@gmail.com>
This commit is contained in:
Kegan Dougal
2026-04-23 08:12:51 +01:00
committed by GitHub
co-authored by Eric Eastwood
parent 31b642e815
commit f2afc627ef
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Add storage functions for future MSC4242 work.
Add storage functions for future [MSC4242](https://github.com/matrix-org/matrix-spec-proposals/pull/4242) work.
@@ -1252,6 +1252,7 @@ class EventFederationWorkerStore(
# Remove comment when used.
async def get_missing_events_state_dag(
self,
*,
room_id: str,
earliest_events: list[str],
latest_events: list[str],
@@ -1267,8 +1268,8 @@ class EventFederationWorkerStore(
)
return await self.get_events_as_list(ids)
# 22/04/2026: Unused currently, but will be used in future MSC4242 PRs.
# Remove comment when used.
# FIXME(2026-04-22): Remove comment when used. Unused currently, but will be used in
# future MSC4242 PRs.
def _get_missing_events_state_dag_txn(
self,
txn: LoggingTransaction,