diff --git a/components/layout/layout-wrapper.tsx b/components/layout/layout-wrapper.tsx index d5dc383..4760af9 100644 --- a/components/layout/layout-wrapper.tsx +++ b/components/layout/layout-wrapper.tsx @@ -31,6 +31,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou // Listen for email notifications const { emailNotification, setEmailNotification } = useEmailNotifications(); + // Listen for RocketChat message notifications + const { messageNotification, setMessageNotification } = useRocketChatMessageNotifications(); + // Also listen for RocketChat iframe events (fallback) useEffect(() => { if (isSignInPage) return;