You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, with the switch to fetch the arrays in parsed JSON responses don't come from the same JS realm as the SDK is running in (apparently). Changing the code to use Array.isArray fixes the issues for us.
The text was updated successfully, but these errors were encountered:
SAS.ts assumes the array from the SAS response is from the same JS realm, since it uses
instanceof Array
to detect if it really got an array:matrix-js-sdk/src/crypto/verification/SAS.ts
Line 220 in dddc0ae
However, with the switch to fetch the arrays in parsed JSON responses don't come from the same JS realm as the SDK is running in (apparently). Changing the code to use
Array.isArray
fixes the issues for us.The text was updated successfully, but these errors were encountered: