mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-11-22 01:51:03 +00:00
tile.lua: fix detection of talks that started long ago, but are still running
This commit is contained in:
parent
738e1d0300
commit
bb22771740
1 changed files with 1 additions and 1 deletions
2
tile.lua
2
tile.lua
|
@ -98,7 +98,7 @@ local function check_next_talks()
|
||||||
|
|
||||||
-- Ignore all talks that started long before now or have already
|
-- Ignore all talks that started long before now or have already
|
||||||
-- ended here. We don't want to announce these.
|
-- ended here. We don't want to announce these.
|
||||||
if talk.start_ts > min_start and talk.end_ts > time then
|
if (talk.start_ts > min_start and talk.end_ts > time) or talk.end_ts > time then
|
||||||
-- is this in *this* room, or somewhere else?
|
-- is this in *this* room, or somewhere else?
|
||||||
if current_room and talk.room == current_room then
|
if current_room and talk.room == current_room then
|
||||||
room_next_talks[#room_next_talks+1] = talk
|
room_next_talks[#room_next_talks+1] = talk
|
||||||
|
|
Loading…
Reference in a new issue