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:
+1
-2
@@ -17,8 +17,7 @@ limitations under the License.
|
||||
import { User } from "matrix-js-sdk/src/models/user";
|
||||
import { verificationMethods as VerificationMethods } from "matrix-js-sdk/src/crypto";
|
||||
import { MatrixClient, RoomMember } from "matrix-js-sdk/src/matrix";
|
||||
import { VerificationRequest } from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest";
|
||||
import { CrossSigningKey } from "matrix-js-sdk/src/crypto-api";
|
||||
import { CrossSigningKey, VerificationRequest } from "matrix-js-sdk/src/crypto-api";
|
||||
|
||||
import dis from "./dispatcher/dispatcher";
|
||||
import Modal from "./Modal";
|
||||
|
||||
Reference in New Issue
Block a user