sharedKeyManagement.ts -> e2eeHooks.ts

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2023-08-28 10:46:02 +02:00
parent f279bd69d7
commit 127e8c9103
10 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ import {
useIsRoomE2EE,
useEnableEmbeddedE2EE,
useEnableE2EE,
} from "../e2ee/sharedKeyManagement";
} from "../e2ee/e2eeHooks";
import { useEnableSPAE2EE } from "../settings/useSetting";
import { E2EEConfig, E2EEMode } from "../livekit/useLiveKit";
import { useUrlParams } from "../UrlParams";

View File

@@ -76,7 +76,7 @@ import { E2EELock } from "../E2EELock";
import { useWakeLock } from "../useWakeLock";
import { useMergedRefs } from "../useMergedRefs";
import { MuteStates } from "./MuteStates";
import { useIsRoomE2EE } from "../e2ee/sharedKeyManagement";
import { useIsRoomE2EE } from "../e2ee/e2eeHooks";
import { useOpenIDSFU } from "../livekit/openIDSFU";
import { ECConnectionState } from "../livekit/useECConnectionState";

View File

@@ -21,7 +21,7 @@ import { Modal, ModalContent, ModalProps } from "../Modal";
import { CopyButton } from "../button";
import { getRoomUrl } from "../matrix-utils";
import styles from "./InviteModal.module.css";
import { useRoomSharedKey } from "../e2ee/sharedKeyManagement";
import { useRoomSharedKey } from "../e2ee/e2eeHooks";
interface Props extends Omit<ModalProps, "title" | "children"> {
roomId: string;

View File

@@ -26,7 +26,7 @@ import { Body, Link } from "../typography/Typography";
import { useLocationNavigation } from "../useLocationNavigation";
import { MatrixInfo, VideoPreview } from "./VideoPreview";
import { MuteStates } from "./MuteStates";
import { useRoomSharedKey } from "../e2ee/sharedKeyManagement";
import { useRoomSharedKey } from "../e2ee/e2eeHooks";
interface Props {
matrixInfo: MatrixInfo;

View File

@@ -27,7 +27,7 @@ import type { GroupCall } from "matrix-js-sdk/src/webrtc/groupCall";
import { setLocalStorageItem } from "../useLocalStorage";
import { isLocalRoomId, createRoom, roomNameFromRoomId } from "../matrix-utils";
import { useEnableSPAE2EE } from "../settings/useSetting";
import { getRoomSharedKeyLocalStorageKey } from "../e2ee/sharedKeyManagement";
import { getRoomSharedKeyLocalStorageKey } from "../e2ee/e2eeHooks";
export type GroupCallLoaded = {
kind: "loaded";