Fix: Do not display past time events

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-08-10 23:21:48 +02:00
parent 4419232fe9
commit b9f683c982
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -85,6 +85,10 @@ func (m modPresence) cronUpdatePresence() {
continue continue
} }
if seg.StartTime.Before(time.Now()) {
continue
}
nextStream = seg.StartTime nextStream = seg.StartTime
break break
} }