mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 18:23:58 +01:00
Add missing notifier
This commit is contained in:
parent
98bdb4468b
commit
2cac7623a5
1 changed files with 2 additions and 1 deletions
|
@ -67,6 +67,7 @@ class ReplicationStreamer(object):
|
|||
self.store = hs.get_datastore()
|
||||
self.presence_handler = hs.get_presence_handler()
|
||||
self.clock = hs.get_clock()
|
||||
self.notifier = hs.get_notifier()
|
||||
|
||||
# Current connections.
|
||||
self.connections = []
|
||||
|
@ -99,7 +100,7 @@ class ReplicationStreamer(object):
|
|||
if not hs.config.send_federation:
|
||||
self.federation_sender = hs.get_federation_sender()
|
||||
|
||||
hs.get_notifier().add_replication_callback(self.on_notifier_poke)
|
||||
self.notifier.add_replication_callback(self.on_notifier_poke)
|
||||
|
||||
# Keeps track of whether we are currently checking for updates
|
||||
self.is_looping = False
|
||||
|
|
Loading…
Reference in a new issue