Skip to content

Commit d4b922f

Browse files
committed
Replace usage of deprecated crypto events
1 parent ff2546b commit d4b922f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hooks/useEncryptionStatus.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
66
Please see LICENSE files in the repository root for full details.
77
*/
88

9-
import { CryptoEvent, MatrixClient, Room, RoomStateEvent } from "matrix-js-sdk/src/matrix";
9+
import { MatrixClient, Room, RoomStateEvent } from "matrix-js-sdk/src/matrix";
1010
import { useEffect, useMemo, useState } from "react";
1111
import { throttle } from "lodash";
12+
import { CryptoEvent } from "matrix-js-sdk/src/crypto-api";
1213

1314
import { E2EStatus, shieldStatusForRoom } from "../utils/ShieldUtils";
1415
import { useTypedEventEmitter } from "./useEventEmitter";

0 commit comments

Comments
 (0)