From 3d5a79be3b707b9618af44466cf87b44e8bbb167 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 21 Aug 2019 14:30:16 -0600 Subject: [PATCH] Hashes need tokens too --- src/base-apis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base-apis.js b/src/base-apis.js index 52fbcd937..f1930d061 100644 --- a/src/base-apis.js +++ b/src/base-apis.js @@ -1891,7 +1891,7 @@ MatrixBaseApis.prototype.identityHashedLookup = async function( }; // Get hash information first before trying to do a lookup - const hashes = await this.getIdentityHashDetails(); + const hashes = await this.getIdentityHashDetails(identityAccessToken); if (!hashes || !hashes['lookup_pepper'] || !hashes['algorithms']) { throw new Error("Unsupported identity server: bad response"); }