mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 15:53:51 +01:00
cmdclient: Fixed /join to work with the updated c-s API.
This commit is contained in:
parent
56427b8057
commit
e4eb5cb443
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue