Skip to content

Commit 57a3bf6

Browse files
committed
Fix 0m meeting time for skipped/auto-named speakers
Speakers persisted via skipNaming (the "Skip" button and the auto-dismiss path) were created without totalMeetingDuration or totalWordCount, so they defaulted to 0 and showed "0m" in the Speakers settings tab even after being renamed. saveSpeakerName already carried these stats from the naming candidate; skipNaming now does the same. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W14mbfXxsSN9dEBdwApYmH
1 parent ff08a65 commit 57a3bf6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/HeardCore/AppModel.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,8 @@ public var filteredSpeakers: [SpeakerProfile] {
776776
firstSeen: Date(),
777777
lastSeen: Date(),
778778
meetingCount: 1,
779+
totalMeetingDuration: candidate.totalMeetingDuration,
780+
totalWordCount: candidate.totalWordCount,
779781
audioClipURLs: persistedClips
780782
)
781783
)

0 commit comments

Comments
 (0)