diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-01-27 09:15:45 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-02-01 12:40:04 +0000 |
commit | 6da4c4d3bdceb99f20bc208dc4809d3d76ba9a72 (patch) | |
tree | ac6a489c63d1408a3cbde993331a5cdac23e3c11 /synapse/server.pyi | |
parent | Rename resolve_state_groups -> resolve_state_groups_for_events (diff) | |
download | synapse-6da4c4d3bdceb99f20bc208dc4809d3d76ba9a72.tar.xz |
Factor out resolve_state_groups to a separate handler
We extract the storage-independent bits of the state group resolution out to a separate functiom, and stick it in a new handler, in preparation for its use from the storage layer.
Diffstat (limited to 'synapse/server.pyi')
-rw-r--r-- | synapse/server.pyi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi index 41416ef252..c3a9a3847b 100644 --- a/synapse/server.pyi +++ b/synapse/server.pyi @@ -34,6 +34,9 @@ class HomeServer(object): def get_state_handler(self) -> synapse.state.StateHandler: pass + def get_state_resolution_handler(self) -> synapse.state.StateResolutionHandler: + pass + def get_deactivate_account_handler(self) -> synapse.handlers.deactivate_account.DeactivateAccountHandler: pass |