Fix room join API URL

This commit is contained in:
Brad Jones 2021-05-30 18:06:33 -10:00 committed by Aryess
parent f12ed63bd8
commit bab4953a95

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