fix(vc): keep meeting event count aligned with events list

This commit is contained in:
houzhicong
2026-04-18 18:06:56 +08:00
parent 4bffde3bd4
commit 29ffddacf5

View File

@@ -111,7 +111,7 @@ var VCMeetingEvents = common.Shortcut{
}
timeline := buildMeetingEventTimeline(events)
runtime.OutFormat(outData, &output.Meta{Count: len(timeline.entries)}, func(w io.Writer) {
runtime.OutFormat(outData, &output.Meta{Count: len(events)}, func(w io.Writer) {
if len(timeline.entries) == 0 {
fmt.Fprintln(w, "No meeting events.")
return