diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-28 07:54:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 07:54:27 -0400 |
commit | 5c03134d0f8dd157ea1800ce1a4bcddbdb73ddf1 (patch) | |
tree | 98d41759fd18e423fd820d04d2a19cbe89f9dbd7 /synapse/handlers | |
parent | Define StateMap as immutable and add a MutableStateMap type. (#8183) (diff) | |
download | synapse-5c03134d0f8dd157ea1800ce1a4bcddbdb73ddf1.tar.xz |
Convert additional database code to async/await. (#8195)
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 155d087413..16389a0dca 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -1879,8 +1879,8 @@ class FederationHandler(BaseHandler): else: return None - def get_min_depth_for_context(self, context): - return self.store.get_min_depth(context) + async def get_min_depth_for_context(self, context): + return await self.store.get_min_depth(context) async def _handle_new_event( self, origin, event, state=None, auth_events=None, backfilled=False |