Fix room join API URL
This commit is contained in:
parent
f12ed63bd8
commit
bab4953a95
1 changed files with 1 additions and 1 deletions
|
|
@ -652,7 +652,7 @@ class MatrixHttpApi {
|
|||
public function inviteUser(string $roomId, string $userId) {
|
||||
$body = ['user_id' => $userId];
|
||||
|
||||
return $this->send('POST', sprintf('.rooms/%s/invite', urlencode($roomId)), $body);
|
||||
return $this->send('POST', sprintf('/rooms/%s/invite', urlencode($roomId)), $body);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue