summary refs log tree commit diff
path: root/cmdclient
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-27 11:33:56 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-27 11:33:56 +0100
commitdd661769e1846b627d26203f6ca7936e0820d93c (patch)
tree874a737fba65d5c8e515e9fa93ff7707dcff9a97 /cmdclient
parentAdded support for GET /events/$eventid with auth checks. (diff)
downloadsynapse-dd661769e1846b627d26203f6ca7936e0820d93c.tar.xz
Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and removed tests which tested that. Updated cmdclient and webclient.
Diffstat (limited to 'cmdclient')
-rwxr-xr-xcmdclient/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdclient/console.py b/cmdclient/console.py
index 4cb604e796..a4d8145d72 100755
--- a/cmdclient/console.py
+++ b/cmdclient/console.py
@@ -471,7 +471,7 @@ class SynapseCmd(cmd.Cmd):
             room_name = args["vis"]
             body["room_alias_name"] = room_name
 
-        reactor.callFromThread(self._run_and_pprint, "POST", "/rooms", body)
+        reactor.callFromThread(self._run_and_pprint, "POST", "/createRoom", body)
 
     def do_raw(self, line):
         """Directly send a JSON object: "raw <method> <path> <data> <notoken>"