import React from 'react';
import { RoomViewHeaderDm } from './RoomViewHeaderDm';

// Universal entry point. After P3c the Stream layout serves every room class
// (1:1 DM, group DM, non-DM group, bridged), and after P4 the new Dawn-styled
// `RoomViewHeaderDm` becomes the chrome for all of them. The `Dm` suffix is
// historical from the DM-only era of P3a — kept for now to keep the diff
// reviewable; rename is a P6 cleanup. See dm_1x1_redesign.md §8 P4.
export function RoomViewHeader({ callView }: { callView?: boolean }) {
  return <RoomViewHeaderDm callView={callView} />;
}
