feat(ui): let recording.start attach a calendar event id

This commit is contained in:
iamdoubz committed 2026-07-11 00:31:31 -05:00
1 parent 86f115642c
commit 16200a130e
1 file changed
+2 -2
+2 -2
View File
@@ -66,7 +66,7 @@ class RecordingStore {
});
}
async start(title?: string, record = false, templateId?: string) {
async start(title?: string, record = false, templateId?: string, calendarEventId?: string) {
this.segments = [];
this.retention = record;
this.deviceNotice = null;
@@ -75,7 +75,7 @@ class RecordingStore {
// T8.7/FR-TRX-4: whatever language is currently configured in Settings
// becomes this meeting's requested language, persisted on its record.
const language = settings.settings.whisper_language ?? undefined;
this.meetingId = await api.startRecording(title, undefined, record, templateId, language);
this.meetingId = await api.startRecording(title, calendarEventId, record, templateId, language);
this.state = "recording";
}