add option to use room uuid instead of room name

This commit is contained in:
Franzi 2024-10-31 21:54:24 +01:00
parent 927adfa0da
commit cc8bcc1233
3 changed files with 13 additions and 3 deletions

View file

@ -139,7 +139,7 @@ local function check_next_talks()
-- to announce these.
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 then
if current_room and (talk.room == current_room or talk.room_uuid == current_room) then
room_next_talks[#room_next_talks+1] = talk
end
all_next_talks[#all_next_talks+1] = talk