summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
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")