fix: cpu usage + email improvements (#944)

* fix: cpu usage on server ws manager, 100% to 0% on idle

* fix:  change email icon to white and prefill email in daily room for authenticated users

* fix: improve email sending with full ts transcript
This commit is contained in:
Juan Diego García
2026-03-31 16:34:10 -05:00
committed by GitHub
parent ec8b49738e
commit 8c4f5e9c0f
17 changed files with 459 additions and 58 deletions

View File

@@ -212,8 +212,13 @@ export default function DailyRoom({ meeting, room }: DailyRoomProps) {
const showConsentModalRef = useRef(showConsentModal);
showConsentModalRef.current = showConsentModal;
const userEmail =
auth.status === "authenticated" || auth.status === "refreshing"
? auth.user.email
: null;
const { showEmailModal } = useEmailTranscriptDialog({
meetingId: assertMeetingId(meeting.id),
userEmail,
});
const showEmailModalRef = useRef(showEmailModal);
showEmailModalRef.current = showEmailModal;