Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Settings panels: avoid exceptions with rust crypto #10962

Merged
merged 3 commits into from
May 23, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented May 22, 2023

If we are using rust crypto, client.crypto is undefined. We'll need to fix these up better in future (element-hq/element-web#24828 and element-hq/element-web#25318), but for now, just return early to suppress the uncaught exception which is making my cypress tests sad.


This change is marked as an internal change (Task), so will not be included in the changelog.

If we are using rust crypto, `client.crypto` is undefined. We'll need to fix
these up better in future, but for now, just return early.
@richvdh richvdh requested a review from a team as a code owner May 22, 2023 17:00
@richvdh richvdh requested review from t3chguy and justjanne May 22, 2023 17:00
@richvdh richvdh added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label May 22, 2023
@richvdh richvdh added this pull request to the merge queue May 23, 2023
Merged via the queue into develop with commit 161e19d May 23, 2023
@richvdh richvdh deleted the rav/element-r/no_exception_in_settings_panels branch May 23, 2023 12:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants