diff options
author | Erik Johnston <erik@matrix.org> | 2021-03-17 13:20:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-17 13:20:08 +0000 |
commit | ad721fc559b4af6140852adf58c93ae6ab0bf6b5 (patch) | |
tree | e59be4517618e3f7df56d82bc4fe86690198a889 /synapse/storage/databases/main | |
parent | Prep work for removing `outlier` from `internal_metadata` (#9411) (diff) | |
download | synapse-ad721fc559b4af6140852adf58c93ae6ab0bf6b5.tar.xz |
Fix bad naming of storage function (#9637)
We had two functions named `get_forward_extremities_for_room` and `get_forward_extremeties_for_room` that took different paramters. We rename one of them to avoid confusion.
Diffstat (limited to 'synapse/storage/databases/main')
-rw-r--r-- | synapse/storage/databases/main/event_federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/event_federation.py b/synapse/storage/databases/main/event_federation.py index 332193ad1c..a956be491a 100644 --- a/synapse/storage/databases/main/event_federation.py +++ b/synapse/storage/databases/main/event_federation.py @@ -793,7 +793,7 @@ class EventFederationWorkerStore(EventsWorkerStore, SignatureWorkerStore, SQLBas return int(min_depth) if min_depth is not None else None - async def get_forward_extremeties_for_room( + async def get_forward_extremities_for_room_at_stream_ordering( self, room_id: str, stream_ordering: int ) -> List[str]: """For a given room_id and stream_ordering, return the forward |