forked from mystiq/hydrogen-web
use .name so we don't need an import
This commit is contained in:
parent
229c584138
commit
ae7d4d07df
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ export class SessionContainer {
|
|||
try {
|
||||
encryptedDehydratedDevice = await getDehydratedDevice(hsApi, olm, this._platform, log);
|
||||
} catch (err) {
|
||||
if (err instanceof HomeServerError) {
|
||||
if (err.name === "HomeServerError") {
|
||||
log.set("not_supported", true);
|
||||
} else {
|
||||
throw err;
|
||||
|
|
Loading…
Reference in a new issue