Remove references to VerificationRequest
(#11050)
* Update references to `VerificationRequestEvent` * Update references to `Phase` * update references to legacy `PHASE_*` constants * Replace `request.canAccept` with `canAcceptVerificationRequest` * Replace `VerificationRequest` with the interface throughout * Minor strict type fixes * Add a couple of tests
This commit is contained in:
parent
6486255f54
commit
b9b93264b6
20 changed files with 72 additions and 57 deletions
|
@ -17,7 +17,7 @@ exports[`VerificationRequestToast should render a cross-user verification 1`] =
|
|||
role="button"
|
||||
tabindex="0"
|
||||
>
|
||||
Ignore (NaN)
|
||||
Ignore
|
||||
</div>
|
||||
<div
|
||||
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
||||
|
@ -53,7 +53,7 @@ exports[`VerificationRequestToast should render a self-verification 1`] = `
|
|||
role="button"
|
||||
tabindex="0"
|
||||
>
|
||||
Ignore (NaN)
|
||||
Ignore
|
||||
</div>
|
||||
<div
|
||||
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue