diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-03 10:27:04 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-03 10:27:11 +0100 |
commit | e4eb5cb443b0d61e7c201666059178e37d0a4fc7 (patch) | |
tree | b30adbcc2d4309b5c1d7c54de5e2c9a2c7fa62e2 | |
parent | Added /ban command (diff) | |
download | synapse-e4eb5cb443b0d61e7c201666059178e37d0a4fc7.tar.xz |
cmdclient: Fixed /join to work with the updated c-s API.
Diffstat (limited to '')
-rwxr-xr-x | cmdclient/console.py | 2 |
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 |