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

Pick out useful commits from last year's hotfixes #219

Merged
merged 6 commits into from
Feb 1, 2024
Merged

Conversation

reivilibre
Copy link
Contributor

supersedes: #180, #181

This is a cherrypick and fixup of any useful-looking fixes from those two PRs.

From memory, most of these were done on my own without any other review, some of them in response to actual problems on the day, but we did manage to run a conference with them so fingers crossed they had some practical testing...

Commit-by-commit review makes the most sense here.

@reivilibre reivilibre requested a review from a team as a code owner February 1, 2024 21:48
Copy link
Contributor

@H-Shay H-Shay left a comment

Choose a reason for hiding this comment

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

seems reasonable to me!

@@ -60,9 +61,12 @@ export async function doAuditoriumResolveAction(
? await conference.getInviteTargetsForAuditorium(realAud)
: await conference.getModeratorsForAuditorium(realAud);
const resolvedAudPeople = audPeople.map(p => allPossiblePeople.find(b => p.id === b.person.id));
if (resolvedAudPeople.some(p => !p)) throw new Error(`Failed to resolve all targets for auditorium ${audId}`);
if (resolvedAudPeople.some(p => !p)) {
logMessage(LogLevel.WARN, "people", `Failed to resolve all targets for auditorium ${audId}. Inviting others anyway.`, client);
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure what the difference between logMessage and LogService (i.e. LogService.warn) which I see being used a lot but if it works, it works :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

logMessage sends a message to the room, LogService.xxx is for the program's logs

I think

@H-Shay H-Shay merged commit d1e8b57 into main Feb 1, 2024
5 checks passed
@H-Shay H-Shay deleted the rei/fd2024_a branch February 1, 2024 22:00
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