mirror of
https://github.com/vector-im/element-web.git
synced 2026-02-27 02:21:56 +01:00
Force boolean value
This commit is contained in:
parent
db33c138aa
commit
c542ea5559
@ -25,7 +25,7 @@ export async function getThreepidsWithBindStatus(client, filterMedium) {
|
||||
}
|
||||
|
||||
// Check bind status assuming we have an IS and terms are agreed
|
||||
if (threepids.length > 0 && client.getIdentityServerUrl()) {
|
||||
if (threepids.length > 0 && !!client.getIdentityServerUrl()) {
|
||||
try {
|
||||
const authClient = new IdentityAuthClient();
|
||||
const identityAccessToken = await authClient.getAccessToken({ check: false });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user