Fix room join API URL
This commit is contained in:
parent
f12ed63bd8
commit
bab4953a95
|
@ -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…
Reference in a new issue