refactor Notifications rc

This commit is contained in:
alma 2026-01-16 02:02:08 +01:00
parent 3cc72c128f
commit b48c9817fd

View File

@ -27,6 +27,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
// Listen for incoming RocketChat calls via WebSocket
const { incomingCall, setIncomingCall } = useRocketChatCalls();
// Listen for email notifications
const { emailNotification, setEmailNotification } = useEmailNotifications();
// Also listen for RocketChat iframe events (fallback)
useEffect(() => {
if (isSignInPage) return;