implement hsapi /keys/claim endpoint

This commit is contained in:
Bruno Windels 2020-09-03 15:33:23 +02:00
parent dde8c66196
commit 2a40c89a24

View file

@ -168,6 +168,10 @@ export class HomeServerApi {
return this._post("/keys/query", null, queryRequest, options);
}
claimKeys(payload, options = null) {
return this._post("/keys/claim", null, payload, options);
}
get mediaRepository() {
return this._mediaRepository;
}