Fix room join API URL

This commit is contained in:
Brad Jones 2021-05-30 18:06:33 -10:00
parent 9de988b660
commit b9c3ab1e21

View file

@ -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);
}
/**