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(linux): a long meeting's live notes no longer give a topic a start time minutes after what was said in it

wquguru4187d08eb52c
diff --git a/linux/cicada/core/notes.py b/linux/cicada/core/notes.py
index 2cbe7e1..db822d8 100644
--- a/linux/cicada/core/notes.py
+++ b/linux/cicada/core/notes.py
@@ -366,6 +366,10 @@ def carry_times(old: MeetingNotes, nxt: MeetingNotes) -> None:
for t in nxt.topics:
times = [_min(t.point_time(i), known.get(p)) for i, p in enumerate(t.points)]
t.pointTimes = times if any(x is not None for x in times) else None
+ # A topic starts no later than its first point (the reply dates it from the lines it cites now).
+ first = min((x for x in times if x is not None), default=None)
+ if first is not None and first < t.start:
+ t.start = first
items = {}
for i in old.conclusions + old.todos:
if i.t is not None: