Skip to content
Snippets Groups Projects
Commit e4eb5cb4 authored by Kegan Dougal's avatar Kegan Dougal
Browse files

cmdclient: Fixed /join to work with the updated c-s API.

parent 56427b80
Branches
Tags
No related merge requests found
...@@ -316,7 +316,7 @@ class SynapseCmd(cmd.Cmd): ...@@ -316,7 +316,7 @@ class SynapseCmd(cmd.Cmd):
try: try:
args = self._parse(line, ["roomname"], force_keys=True) args = self._parse(line, ["roomname"], force_keys=True)
path = "/join/%s" % urllib.quote(args["roomname"]) 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: except Exception as e:
print e print e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment