summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-11-29 14:10:46 +0000
committerRichard van der Hoff <richard@matrix.org>2017-11-29 16:44:35 +0000
commitae31f8ce4507e8c68e5c1aea3363789dbd8ca999 (patch)
tree35ea975b5d9c71eeb939e9718235835cf57d853f /synapse/server.pyi
parentMove deactivate_account into its own handler (diff)
downloadsynapse-ae31f8ce4507e8c68e5c1aea3363789dbd8ca999.tar.xz
Move set_password into its own handler
Non-functional refactoring to move set_password. This means that we'll be able
to properly deactivate devices and access tokens without introducing a
dependency loop.
Diffstat (limited to '')
-rw-r--r--synapse/server.pyi4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi
index e1d0a71fd4..41416ef252 100644
--- a/synapse/server.pyi
+++ b/synapse/server.pyi
@@ -6,6 +6,7 @@ import synapse.handlers.auth
 import synapse.handlers.deactivate_account
 import synapse.handlers.device
 import synapse.handlers.e2e_keys
+import synapse.handlers.set_password
 import synapse.rest.media.v1.media_repository
 import synapse.state
 import synapse.storage
@@ -36,6 +37,9 @@ class HomeServer(object):
     def get_deactivate_account_handler(self) -> synapse.handlers.deactivate_account.DeactivateAccountHandler:
         pass
 
+    def get_set_password_handler(self) -> synapse.handlers.set_password.SetPasswordHandler:
+        pass
+
     def get_federation_sender(self) -> synapse.federation.transaction_queue.TransactionQueue:
         pass