diff --git a/src/Header.tsx b/src/Header.tsx index d9ad1e96..8974bccc 100644 --- a/src/Header.tsx +++ b/src/Header.tsx @@ -114,10 +114,9 @@ export function HeaderLogo({ className }: HeaderLogoProps) { interface RoomHeaderInfo { roomName: string; - avatarUrl: string | null; } -export function RoomHeaderInfo({ roomName, avatarUrl }: RoomHeaderInfo) { +export function RoomHeaderInfo({ roomName }: RoomHeaderInfo) { return ( <> diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 471bfa47..3872ec2d 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -35,7 +35,6 @@ import { PosthogAnalytics } from "../analytics/PosthogAnalytics"; import { useProfile } from "../profile/useProfile"; import { UserChoices } from "../livekit/useLiveKit"; import { findDeviceByName } from "../media-utils"; -import { useRoomAvatar } from "./useRoomAvatar"; declare global { interface Window { @@ -82,14 +81,12 @@ export function GroupCallView({ }, [groupCall]); const { displayName, avatarUrl } = useProfile(client); - const roomAvatarUrl = useRoomAvatar(groupCall.room); const matrixInfo: MatrixInfo = { displayName, avatarUrl, roomName: groupCall.room.name, roomIdOrAlias, - roomAvatarUrl, }; useEffect(() => { diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 71257200..617c66a7 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -389,10 +389,7 @@ export function InCallView({ {!hideHeader && maximisedParticipant === null && (
- + - + diff --git a/src/room/VideoPreview.tsx b/src/room/VideoPreview.tsx index ed31f6e1..6c7cbf49 100644 --- a/src/room/VideoPreview.tsx +++ b/src/room/VideoPreview.tsx @@ -35,7 +35,6 @@ export type MatrixInfo = { avatarUrl: string; roomName: string; roomIdOrAlias: string; - roomAvatarUrl: string | null; }; interface Props {