From bb22771740cfa0c30ddcad0a49b0214202b44142 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 30 Sep 2023 10:15:44 +0200 Subject: [PATCH] tile.lua: fix detection of talks that started long ago, but are still running --- tile.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile.lua b/tile.lua index 770d959..3465c3f 100644 --- a/tile.lua +++ b/tile.lua @@ -98,7 +98,7 @@ local function check_next_talks() -- Ignore all talks that started long before now or have already -- 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? if current_room and talk.room == current_room then room_next_talks[#room_next_talks+1] = talk