riot-web/test
Hubert Chathi c2ce7dbc5e
Display a warning when an unverified user's identity changes (#28211)
* display a warning when an unverified user's identity changes

* use Compound and make comments into doc comments

* refactor to use functional component

* split into multiple hooks

* apply minor changes from review

* use Crypto API to determine if room is encrypted

* apply changes from review

* change initialisation status to a tri-state rather than a boolean

* fix more race conditions, and apply changes from review

* apply changes from review and switch to using counter for detecting races

* Remove outdated comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* fix test

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-11-21 20:31:29 +00:00
..
@types Change license (#13) 2024-09-09 13:57:16 +00:00
app-tests Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
components/views/dialogs/security Refactor CreateCrossSigningDialog (#28218) 2024-10-22 11:42:07 +00:00
setup Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
test-utils Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
unit-tests Display a warning when an unverified user's identity changes (#28211) 2024-11-21 20:31:29 +00:00
CreateCrossSigning-test.ts Refactor CreateCrossSigningDialog (#28218) 2024-10-22 11:42:07 +00:00
globalSetup.ts Change license (#13) 2024-09-09 13:57:16 +00:00
jest-mocks.ts Update license files 2024-09-06 15:44:31 +01:00
setupTests.ts Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
slowReporter.cjs Change license (#13) 2024-09-09 13:57:16 +00:00