Fix: Video Room Chat Header Button Removed (#11911)
* "@vector-im/compound-design-tokens": "^0.1.0" * add chat button to room header for video rooms * cleanup useEffect, comments * comment
This commit is contained in:
parent
4a0ffefae7
commit
668e3a3bd9
6 changed files with 252 additions and 5 deletions
|
@ -50,6 +50,7 @@ import { formatCount } from "../../../utils/FormattingUtils";
|
|||
import RightPanelStore from "../../../stores/right-panel/RightPanelStore";
|
||||
import { Linkify, topicToHtml } from "../../../HtmlUtils";
|
||||
import PosthogTrackers from "../../../PosthogTrackers";
|
||||
import { VideoRoomChatButton } from "./RoomHeader/VideoRoomChatButton";
|
||||
|
||||
/**
|
||||
* A helper to transform a notification color to the what the Compound Icon Button
|
||||
|
@ -215,6 +216,9 @@ export default function RoomHeader({
|
|||
</Tooltip>
|
||||
)}
|
||||
|
||||
{/* Renders nothing when room is not a video room */}
|
||||
<VideoRoomChatButton room={room} />
|
||||
|
||||
<Tooltip label={_t("common|threads")}>
|
||||
<IconButton
|
||||
indicator={notificationColorToIndicator(threadNotifications)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue