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

Simplify isDeviceVerified definitions #10594

Merged
merged 3 commits into from
Apr 14, 2023
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Apr 13, 2023

Currently, we have two similar but different definitions of isDeviceVerified,
and they both do a lot of wrangling that relies on js-sdk internals. We can
simplify it a lot by just calling MatrixClientPeg.checkDeviceTrust.


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

@richvdh richvdh added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Apr 13, 2023
Currently, we have two similar but different definitions of `isDeviceVerified`,
and they both do a lot of wrangling that relies on js-sdk internals. We can
simplify it a lot by just calling `MatrixClientPeg.checkDeviceTrust`.
@richvdh richvdh marked this pull request as ready for review April 13, 2023 12:40
@richvdh richvdh requested a review from a team as a code owner April 13, 2023 12:40
Copy link
Contributor

@florianduros florianduros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGFM

@richvdh richvdh added this pull request to the merge queue Apr 14, 2023
Merged via the queue into develop with commit 70b87f8 Apr 14, 2023
@richvdh richvdh deleted the rav/simplify_isDeviceVerified branch April 14, 2023 10:17
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