diff --git a/src/app/features/room/RoomView.tsx b/src/app/features/room/RoomView.tsx
index 9b1372af..f98729ce 100644
--- a/src/app/features/room/RoomView.tsx
+++ b/src/app/features/room/RoomView.tsx
@@ -23,7 +23,6 @@ import { settingsAtom } from '../../state/settings';
import { useSetting } from '../../state/hooks/settings';
import { useAccessibleTagColors, usePowerLevelTags } from '../../hooks/usePowerLevelTags';
import { useTheme } from '../../hooks/useTheme';
-import { CallActivationEffect } from '../../pages/call/CallActivation';
const FN_KEYS_REGEX = /^F\d+$/;
@@ -78,7 +77,7 @@ export function RoomView({ room, eventId }: { room: Room; eventId?: string }) {
const [powerLevelTags, getPowerLevelTag] = usePowerLevelTags(room, powerLevels);
const theme = useTheme();
const accessibleTagColors = useAccessibleTagColors(theme.kind, powerLevelTags);
- const isCall = room.isCallRoom();
+
useKeyDown(
window,
useCallback(
@@ -87,7 +86,6 @@ export function RoomView({ room, eventId }: { room: Room; eventId?: string }) {
if (document.querySelector('.ReactModalPortal > *') || navigation.isRawModalVisible) {
return;
}
- if (isCall) return;
if (shouldFocusMessageField(evt) || isKeyHotkey('mod+v', evt)) {
if (editor) {
@@ -95,32 +93,13 @@ export function RoomView({ room, eventId }: { room: Room; eventId?: string }) {
}
}
},
- [editor, isCall]
+ [editor]
)
);
- if (isCall) {
- return (
-
-
-
-
- );
- }
-
return (
- {/* Main timeline area */}