fix: save first speaker log on meeting start
This commit is contained in:
@@ -105,11 +105,16 @@ func (t *Timer) Start() {
|
|||||||
t.speakerWarned = false
|
t.speakerWarned = false
|
||||||
t.meetingWarned = false
|
t.meetingWarned = false
|
||||||
|
|
||||||
if len(t.queue) > 0 {
|
hasSpeakers := len(t.queue) > 0
|
||||||
|
if hasSpeakers {
|
||||||
t.startNextSpeaker(now, 0)
|
t.startNextSpeaker(now, 0)
|
||||||
}
|
}
|
||||||
t.mu.Unlock()
|
t.mu.Unlock()
|
||||||
|
|
||||||
|
if hasSpeakers {
|
||||||
|
t.emit(EventSpeakerChanged)
|
||||||
|
}
|
||||||
|
|
||||||
go t.tick()
|
go t.tick()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user