summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-31 10:49:16 +0100
committerErik Johnston <erik@matrix.org>2016-03-31 10:49:27 +0100
commit5260db7663ff242e8a0adcbdfeeaf0f6e7ba1e96 (patch)
tree8f84d469568868290601e6b126f09b4b3fa55b6a /synapse/handlers/room.py
parentMerge pull request #678 from matrix-org/dbkr/push_obey_enable (diff)
downloadsynapse-5260db7663ff242e8a0adcbdfeeaf0f6e7ba1e96.tar.xz
Line length
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py4
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")