diff options
author | Erik Johnston <erikj@jki.re> | 2018-03-13 13:46:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 13:46:38 +0000 |
commit | 56e709857ce6f48197061dbb5597d90a75877051 (patch) | |
tree | eb63a5f203e206a29eaae2fb29b10e8a01ea1de5 /synapse/handlers/device.py | |
parent | Merge pull request #2980 from matrix-org/erikj/rm_priv (diff) | |
parent | Don't build handlers on workers unnecessarily (diff) | |
download | synapse-56e709857ce6f48197061dbb5597d90a75877051.tar.xz |
Merge pull request #2979 from matrix-org/erikj/no_handlers
Don't build handlers on workers unnecessarily
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r-- | synapse/handlers/device.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index 9e58dbe64e..fcf41630d6 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -37,7 +37,6 @@ class DeviceHandler(BaseHandler): self.state = hs.get_state_handler() self._auth_handler = hs.get_auth_handler() self.federation_sender = hs.get_federation_sender() - self.federation = hs.get_replication_layer() self._edu_updater = DeviceListEduUpdater(hs, self) @@ -432,7 +431,7 @@ class DeviceListEduUpdater(object): def __init__(self, hs, device_handler): self.store = hs.get_datastore() - self.federation = hs.get_replication_layer() + self.federation = hs.get_replication_client() self.clock = hs.get_clock() self.device_handler = device_handler |