diff --git a/src/components/views/rooms/RoomHeader.tsx b/src/components/views/rooms/RoomHeader.tsx index 05e649bddb..21f6e4e939 100644 --- a/src/components/views/rooms/RoomHeader.tsx +++ b/src/components/views/rooms/RoomHeader.tsx @@ -106,6 +106,8 @@ export default function RoomHeader({ room }: { room: Room }): JSX.Element { }, [room, directRoomsList]); const e2eStatus = useEncryptionStatus(client, room); + const notificationsEnabled = useFeatureEnabled("feature_notifications"); + return ( - { - showOrHidePanel(RightPanelPhases.NotificationPanel); - }} - title={_t("Notifications")} - > - - + {notificationsEnabled && ( + { + showOrHidePanel(RightPanelPhases.NotificationPanel); + }} + title={_t("Notifications")} + > + + + )} {!isDirectMessage && (