diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-12 14:34:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-13 10:55:47 +0000 |
commit | 265b993b8afd2501b2aa3a50670f39d6d97eddb7 (patch) | |
tree | 65949cc5f26498dde00051dfb552073f5a541485 /synapse/handlers/room_member.py | |
parent | Move property setting from ReplicationLayer to FederationBase (diff) | |
download | synapse-265b993b8afd2501b2aa3a50670f39d6d97eddb7.tar.xz |
Split replication layer into two
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r-- | synapse/handlers/room_member.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index ed3b97730d..e2f0527712 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -55,7 +55,6 @@ class RoomMemberHandler(object): self.registration_handler = hs.get_handlers().registration_handler self.profile_handler = hs.get_profile_handler() self.event_creation_hander = hs.get_event_creation_handler() - self.replication_layer = hs.get_replication_layer() self.member_linearizer = Linearizer(name="member") @@ -212,7 +211,7 @@ class RoomMemberHandler(object): # if this is a join with a 3pid signature, we may need to turn a 3pid # invite into a normal invite before we can handle the join. if third_party_signed is not None: - yield self.replication_layer.exchange_third_party_invite( + yield self.federation_handler.exchange_third_party_invite( third_party_signed["sender"], target.to_string(), room_id, |