summary refs log tree commit diff
path: root/synapse/groups
diff options
context:
space:
mode:
authorLuke Barnard <luke@matrix.org>2018-04-05 17:32:20 +0100
committerLuke Barnard <luke@matrix.org>2018-04-06 15:43:27 +0100
commit112c2253e2846b48b75f4171d9dd94bfe6ecc8a1 (patch)
tree0c5066f065b5e37fb1ac12d48d0fef2cadc97c02 /synapse/groups
parentGet group_info from existing call to check_group_is_ours (diff)
downloadsynapse-112c2253e2846b48b75f4171d9dd94bfe6ecc8a1.tar.xz
pep8
Diffstat (limited to 'synapse/groups')
-rw-r--r--synapse/groups/groups_server.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index 1b516011d8..15d31549de 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -741,7 +741,9 @@ class GroupsServerHandler(object):
         This will error if the group requires an invite/knock to join
         """
 
-        group_info = yield self.check_group_is_ours(group_id, requester_user_id, and_exists=True)
+        group_info = yield self.check_group_is_ours(
+            group_id, requester_user_id, and_exists=True
+        )
         if group_info['join_policy'] != "open":
             raise SynapseError(403, "Group is not publicly joinable")