Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix(windows): a long meeting's live notes no longer give a topic a start time minutes after what was said in it

wquguru0ea618084dd6
diff --git a/windows/src/Cicada.Core/Notes.cs b/windows/src/Cicada.Core/Notes.cs
index dce2e31..74ac67b 100644
--- a/windows/src/Cicada.Core/Notes.cs
+++ b/windows/src/Cicada.Core/Notes.cs
@@ -192,6 +192,8 @@ public sealed class NotesEngine
{
var times = t.Points.Select((p, i) => Min(t.PointTime(i), known.TryGetValue(p, out var k) ? k : null)).ToList();
t.PointTimes = times.Any(x => x is not null) ? times : null;
+ // A topic starts no later than its first point (the reply dates it from the lines it cites now).
+ if (times.Where(x => x is not null).Min() is { } first && first < t.Start) t.Start = first;
}
var items = new Dictionary<string, double>();
foreach (var i in old.Conclusions.Concat(old.Todos)) if (i.T is { } t) items.TryAdd(i.Text, t);