summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-08-11 19:40:02 +0100
committerGitHub <noreply@github.com>2020-08-11 19:40:02 +0100
commita1e9bb9eae7f90e93e0ba02e84e8216e3c2f447a (patch)
treeed117429c68d8ebc4e1f70461ea1450b174cad34 /synapse/server.pyi
parentReduce INFO logging (#8050) (diff)
downloadsynapse-a1e9bb9eae7f90e93e0ba02e84e8216e3c2f447a.tar.xz
Add typing info to Notifier (#8058)
Diffstat (limited to 'synapse/server.pyi')
-rw-r--r--synapse/server.pyi6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi
index 1aba408c21..6a9bbb4713 100644
--- a/synapse/server.pyi
+++ b/synapse/server.pyi
@@ -31,8 +31,10 @@ import synapse.server_notices.server_notices_sender
 import synapse.state
 import synapse.storage
 from synapse.events.builder import EventBuilderFactory
+from synapse.handlers.appservice import ApplicationServicesHandler
 from synapse.handlers.typing import FollowerTypingHandler
 from synapse.replication.tcp.streams import Stream
+from synapse.streams.events import EventSources
 
 class HomeServer(object):
     @property
@@ -153,3 +155,7 @@ class HomeServer(object):
         pass
     def get_typing_handler(self) -> FollowerTypingHandler:
         pass
+    def get_event_sources(self) -> EventSources:
+        pass
+    def get_application_service_handler(self):
+        return ApplicationServicesHandler(self)