diff --git a/src/components/views/settings/discovery/EmailAddresses.tsx b/src/components/views/settings/discovery/EmailAddresses.tsx index e1fe1ad1fd..a1375a0f68 100644 --- a/src/components/views/settings/discovery/EmailAddresses.tsx +++ b/src/components/views/settings/discovery/EmailAddresses.tsx @@ -75,7 +75,7 @@ export class EmailAddress extends React.Component { - if (!await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind()) { + if (!(await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind())) { return this.changeBindingTangledAddBind({ bind, label, errorTitle }); } diff --git a/src/components/views/settings/discovery/PhoneNumbers.tsx b/src/components/views/settings/discovery/PhoneNumbers.tsx index 3abf1e3f6c..2e7e951888 100644 --- a/src/components/views/settings/discovery/PhoneNumbers.tsx +++ b/src/components/views/settings/discovery/PhoneNumbers.tsx @@ -71,7 +71,7 @@ export class PhoneNumber extends React.Component { - if (!await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind()) { + if (!(await MatrixClientPeg.get().doesServerSupportSeparateAddAndBind())) { return this.changeBindingTangledAddBind({ bind, label, errorTitle }); }