Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Jan 23, 2024
1 parent bc2e343 commit 263ee59
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/commands/VerifyCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,17 @@ export class VerifyCommand implements ICommand {

public async run(roomId: string, event: any, args: string[]) {
let audId;
if (args.includes("backstage")) {
let backstage = args.includes("backstage")
if (backstage) {
const aud_slice = args.slice(0, -1)
audId = aud_slice.join(" ")
}
else {
audId = args.join(" ");
}

console.log(audId)
const auds = this.conference.storedAuditoriums
console.dir(auds)
let aud: PhysicalRoom = this.conference.getAuditorium(audId);
if (args.includes("backstage")) {
if (backstage) {
aud = this.conference.getAuditoriumBackstage(audId);
}

Expand Down

0 comments on commit 263ee59

Please sign in to comment.