diff options
author | Erik Johnston <erik@matrix.org> | 2017-07-18 17:28:42 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-07-18 17:28:42 +0100 |
commit | 14a34f12d755e7516dc81348d811d47dc51f026d (patch) | |
tree | 32cb6a29454213e7999d2a3b4f22f0f43757e956 /synapse/rest | |
parent | Comments (diff) | |
download | synapse-14a34f12d755e7516dc81348d811d47dc51f026d.tar.xz |
Comments
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/groups.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/groups.py b/synapse/rest/client/v2_alpha/groups.py index 787967c3a2..f937d856fd 100644 --- a/synapse/rest/client/v2_alpha/groups.py +++ b/synapse/rest/client/v2_alpha/groups.py @@ -405,7 +405,9 @@ class GroupAdminRoomsServlet(RestServlet): user_id = requester.user.to_string() content = parse_json_object_from_request(request) - result = yield self.groups_handler.add_room(group_id, user_id, room_id, content) + result = yield self.groups_handler.add_room_to_group( + group_id, user_id, room_id, content, + ) defer.returnValue((200, result)) |