Rename isAccessToken to identityAccessToken
This commit is contained in:
parent
654a8c2cb8
commit
4ebafb93c3
4 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue