mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-02 11:06:06 -04:00
Split replication layer into two
This commit is contained in:
parent
e05bf34117
commit
265b993b8a
12 changed files with 19 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue