diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-01 10:54:37 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-01 14:36:50 +0000 |
commit | 784f036306a020fcde495887c2881209b913b9b8 (patch) | |
tree | 87eb76c9a058034dab5c82baa1b01a59152bc33f /synapse/handlers/room.py | |
parent | Merge pull request #2920 from matrix-org/erikj/retry_send_event (diff) | |
download | synapse-784f036306a020fcde495887c2881209b913b9b8.tar.xz |
Move RoomMemberHandler out of Handlers
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 6ab020bf41..6c425828c1 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -165,7 +165,7 @@ class RoomCreationHandler(BaseHandler): creation_content = config.get("creation_content", {}) - room_member_handler = self.hs.get_handlers().room_member_handler + room_member_handler = self.hs.get_room_member_handler() yield self._send_events_for_new_room( requester, @@ -224,7 +224,7 @@ class RoomCreationHandler(BaseHandler): id_server = invite_3pid["id_server"] address = invite_3pid["address"] medium = invite_3pid["medium"] - yield self.hs.get_handlers().room_member_handler.do_3pid_invite( + yield self.hs.get_room_member_handler().do_3pid_invite( room_id, requester.user, medium, |