diff options
author | Luke Barnard <lukeb@openmarket.com> | 2017-10-27 10:57:20 +0100 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2017-10-27 10:57:20 +0100 |
commit | c7d9f25d2242db2a5674a76f074858dbcf216d04 (patch) | |
tree | f6032f7db4978c56e9d2d625b00867276e0ec447 /synapse/groups | |
parent | Correct logic for checking private group membership (diff) | |
download | synapse-c7d9f25d2242db2a5674a76f074858dbcf216d04.tar.xz |
Fix create_group to pass requester_user_id
Diffstat (limited to 'synapse/groups')
-rw-r--r-- | synapse/groups/groups_server.py | 2 |
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) |