Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update auditorium names to be the track name on talk start #230

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

reivilibre
Copy link
Contributor

pulled from FOSDEM 2024 Hotfixes #228

A nice-to-have would be to update on Sunday before the first talk even starts (and maybe slightly in advance of the changeover halfway through the day too).

But that would have been complicated to do and we needed something simple and robust on the day.

@reivilibre reivilibre requested a review from a team as a code owner February 4, 2024 10:42
src/Scheduler.ts Outdated

try {
const nameEventContent = await this.client.getRoomStateEvent(confAud.roomId, "m.room.name", "");
if (task.talk.track != '' && task.talk.track != undefined && task.talk.track != nameEventContent["name"]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can test some of these conditions prior to pulling state.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true. In some respects I'm not expecting these things to happen, but I just didn't want the bot to go and do a silly if they actually did.

src/Scheduler.ts Outdated Show resolved Hide resolved
@reivilibre reivilibre merged commit b91e633 into main Feb 23, 2024
5 checks passed
@reivilibre reivilibre deleted the rei/fd24_upd_aud_names_on_track_start branch February 23, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants