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/profile.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/profile.py')
-rw-r--r-- | synapse/handlers/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index c386c79bbd..0cfac60d74 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -31,7 +31,7 @@ class ProfileHandler(BaseHandler): def __init__(self, hs): super(ProfileHandler, self).__init__(hs) - self.federation = hs.get_replication_layer() + self.federation = hs.get_replication_client() hs.get_federation_registry().register_query_handler( "profile", self.on_profile_query ) |