summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-02-26 15:33:26 +0000
committerGitHub <noreply@github.com>2020-02-26 15:33:26 +0000
commit1f773eec912e4908ab60f7823f5c0a024261af4d (patch)
tree3b75bb043a46554b1296003cd9974a0b35ce6a8c /synapse/server.pyi
parentUpdated warning for incorrect database collation/ctype (#6985) (diff)
downloadsynapse-1f773eec912e4908ab60f7823f5c0a024261af4d.tar.xz
Port PresenceHandler to async/await (#6991)
Diffstat (limited to 'synapse/server.pyi')
-rw-r--r--synapse/server.pyi5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi
index 40eabfe5d9..3844f0e12f 100644
--- a/synapse/server.pyi
+++ b/synapse/server.pyi
@@ -3,6 +3,7 @@ import twisted.internet
 import synapse.api.auth
 import synapse.config.homeserver
 import synapse.crypto.keyring
+import synapse.federation.federation_server
 import synapse.federation.sender
 import synapse.federation.transport.client
 import synapse.handlers
@@ -107,5 +108,9 @@ class HomeServer(object):
         self,
     ) -> synapse.replication.tcp.client.ReplicationClientHandler:
         pass
+    def get_federation_registry(
+        self,
+    ) -> synapse.federation.federation_server.FederationHandlerRegistry:
+        pass
     def is_mine_id(self, domain_id: str) -> bool:
         pass