summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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