You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
Rename isAccessToken to identityAccessToken
This commit is contained in:
@@ -517,14 +517,14 @@ module.exports = React.createClass({
|
||||
|
||||
try {
|
||||
const authClient = new IdentityAuthClient();
|
||||
const isAccessToken = await authClient.getAccessToken();
|
||||
const identityAccessToken = await authClient.getAccessToken();
|
||||
if (cancelled) return null;
|
||||
|
||||
const lookup = await MatrixClientPeg.get().lookupThreePid(
|
||||
medium,
|
||||
address,
|
||||
undefined /* callback */,
|
||||
isAccessToken,
|
||||
identityAccessToken,
|
||||
);
|
||||
if (cancelled || lookup === null || !lookup.mxid) return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user