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

This commit is contained in:
Kegan Dougal 2014-09-03 10:27:04 +01:00
parent 56427b8057
commit e4eb5cb443
1 changed files with 1 additions and 1 deletions

View File

@ -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