summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-27 09:15:45 +0000
committerRichard van der Hoff <richard@matrix.org>2018-02-01 12:40:04 +0000
commit6da4c4d3bdceb99f20bc208dc4809d3d76ba9a72 (patch)
treeac6a489c63d1408a3cbde993331a5cdac23e3c11 /synapse/server.pyi
parentRename resolve_state_groups -> resolve_state_groups_for_events (diff)
downloadsynapse-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.pyi3
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