summary refs log tree commit diff
path: root/cmdclient/console.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-03 10:27:04 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-03 10:27:11 +0100
commite4eb5cb443b0d61e7c201666059178e37d0a4fc7 (patch)
treeb30adbcc2d4309b5c1d7c54de5e2c9a2c7fa62e2 /cmdclient/console.py
parentAdded /ban command (diff)
downloadsynapse-e4eb5cb443b0d61e7c201666059178e37d0a4fc7.tar.xz
cmdclient: Fixed /join to work with the updated c-s API.
Diffstat (limited to 'cmdclient/console.py')
-rwxr-xr-xcmdclient/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdclient/console.py b/cmdclient/console.py
index a83140710b..6d77d64f23 100755
--- a/cmdclient/console.py
+++ b/cmdclient/console.py
@@ -316,7 +316,7 @@ class SynapseCmd(cmd.Cmd):
         try:
             args = self._parse(line, ["roomname"], force_keys=True)
             path = "/join/%s" % urllib.quote(args["roomname"])
-            reactor.callFromThread(self._run_and_pprint, "PUT", path, {})
+            reactor.callFromThread(self._run_and_pprint, "POST", path, {})
         except Exception as e:
             print e