summary refs log tree commit diff
path: root/synapse/groups/groups_server.py
diff options
context:
space:
mode:
authorLuke Barnard <lukeb@openmarket.com>2017-10-27 10:57:20 +0100
committerLuke Barnard <lukeb@openmarket.com>2017-10-27 10:57:20 +0100
commitc7d9f25d2242db2a5674a76f074858dbcf216d04 (patch)
treef6032f7db4978c56e9d2d625b00867276e0ec447 /synapse/groups/groups_server.py
parentCorrect logic for checking private group membership (diff)
downloadsynapse-c7d9f25d2242db2a5674a76f074858dbcf216d04.tar.xz
Fix create_group to pass requester_user_id
Diffstat (limited to 'synapse/groups/groups_server.py')
-rw-r--r--synapse/groups/groups_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index 054d56abec..175ff433a1 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -733,7 +733,7 @@ class GroupsServerHandler(object):
 
     @defer.inlineCallbacks
     def create_group(self, group_id, requester_user_id, content):
-        group = yield self.check_group_is_ours(group_id)
+        group = yield self.check_group_is_ours(group_id, requester_user_id)
 
         logger.info("Attempting to create group with ID: %r", group_id)