mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2025-06-30 22:58:32 +00:00
don't announce talks that have started more than 25 minutes ago
This commit is contained in:
parent
ef96cfb88c
commit
fb1c6c0dc6
2 changed files with 2 additions and 4 deletions
4
tile.lua
4
tile.lua
|
@ -122,9 +122,9 @@ local function check_next_talks()
|
|||
|
||||
-- Ignore all talks that have already ended here. We don't want
|
||||
-- to announce these.
|
||||
if talk.end_ts > time then
|
||||
if talk.end_ts > time and talk.start_ts > min_start then
|
||||
-- is this in *this* room, or somewhere else?
|
||||
if current_room and talk.room == current_room and talk.start_ts > min_start then
|
||||
if current_room and talk.room == current_room then
|
||||
room_next_talks[#room_next_talks+1] = talk
|
||||
end
|
||||
all_next_talks[#all_next_talks+1] = talk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue