diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-10-15 13:10:30 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-10-15 13:10:30 +0100 |
commit | 643b5fcdc81d8f2e39a97dd1a94c78cd8769c613 (patch) | |
tree | b05cfe5f96645b69635e46d235b963a277c1410b /synapse/handlers/room.py | |
parent | Merge branch 'develop' into daniel/3pidinvites (diff) | |
download | synapse-643b5fcdc81d8f2e39a97dd1a94c78cd8769c613.tar.xz |
Look for keys on the right objects
Diffstat (limited to '')
-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 bbb457e823..6936cdc5fd 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -566,7 +566,7 @@ class RoomMemberHandler(BaseHandler): if invitee: # make sure it looks like a user ID; it'll throw if it's invalid. UserID.from_string(invitee) - yield self.handlers.message_handler.create_and_send_event( + yield self.hs.get_handlers().message_handler.create_and_send_event( { "type": EventTypes.Member, "content": { @@ -641,7 +641,7 @@ class RoomMemberHandler(BaseHandler): user.to_string() ) ) - msg_handler = self.handlers.message_handler + msg_handler = self.hs.get_handlers().message_handler yield msg_handler.create_and_send_event( { "type": EventTypes.ThirdPartyInvite, |