summary refs log tree commit diff
path: root/synapse/handlers/events.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-09-09 12:22:00 -0400
committerGitHub <noreply@github.com>2020-09-09 12:22:00 -0400
commit2ea1c682490a19e0e2df069702c1dbe419389fa4 (patch)
tree5b66ed708eb7d43362782262844e6e56d5d86b75 /synapse/handlers/events.py
parentFixup pusher pool notifications (#8287) (diff)
downloadsynapse-2ea1c682490a19e0e2df069702c1dbe419389fa4.tar.xz
Remove some unused distributor signals (#8216)
Removes the `user_joined_room` and stops calling it since there are no observers.

Also cleans-up some other unused signals and related code.
Diffstat (limited to 'synapse/handlers/events.py')
-rw-r--r--synapse/handlers/events.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/handlers/events.py b/synapse/handlers/events.py

index b05e32f457..fdce54c5c3 100644 --- a/synapse/handlers/events.py +++ b/synapse/handlers/events.py
@@ -39,10 +39,6 @@ class EventStreamHandler(BaseHandler): def __init__(self, hs: "HomeServer"): super(EventStreamHandler, self).__init__(hs) - self.distributor = hs.get_distributor() - self.distributor.declare("started_user_eventstream") - self.distributor.declare("stopped_user_eventstream") - self.clock = hs.get_clock() self.notifier = hs.get_notifier()