diff options
author | Erik Johnston <erik@matrix.org> | 2016-03-31 10:49:16 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-03-31 10:49:27 +0100 |
commit | 5260db7663ff242e8a0adcbdfeeaf0f6e7ba1e96 (patch) | |
tree | 8f84d469568868290601e6b126f09b4b3fa55b6a | |
parent | Merge pull request #678 from matrix-org/dbkr/push_obey_enable (diff) | |
download | synapse-5260db7663ff242e8a0adcbdfeeaf0f6e7ba1e96.tar.xz |
Line length
-rw-r--r-- | synapse/handlers/room.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 71f7ab3d22..a230dc37f2 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -536,7 +536,9 @@ class RoomMemberHandler(BaseHandler): if not is_host_in_room: # perhaps we've been invited - inviter = self.get_inviter(target_user.to_string(), context.current_state) + inviter = self.get_inviter( + target_user.to_string(), context.current_state + ) if not inviter: raise SynapseError(404, "Not a known room") |