summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-18 17:28:42 +0100
committerErik Johnston <erik@matrix.org>2017-07-18 17:28:42 +0100
commit14a34f12d755e7516dc81348d811d47dc51f026d (patch)
tree32cb6a29454213e7999d2a3b4f22f0f43757e956 /synapse/rest/client/v2_alpha
parentComments (diff)
downloadsynapse-14a34f12d755e7516dc81348d811d47dc51f026d.tar.xz
Comments
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/groups.py4
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))