From 2a40c89a24330010eb54901d08942f8f897e7a39 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 3 Sep 2020 15:33:23 +0200 Subject: [PATCH] implement hsapi /keys/claim endpoint --- src/matrix/net/HomeServerApi.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/matrix/net/HomeServerApi.js b/src/matrix/net/HomeServerApi.js index 42d1b0e0..9ea7dc26 100644 --- a/src/matrix/net/HomeServerApi.js +++ b/src/matrix/net/HomeServerApi.js @@ -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; }