You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +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