Update room id

This commit is contained in:
2022-08-18 21:18:59 +02:00
parent 0217ea90e2
commit 426e120e21
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.idea/ .idea/
www/res/scripts/* www/res/scripts/*
*.sh

View File

@ -182,7 +182,7 @@ export class App {
for (const e of form.getElementsByTagName("input")) e.disabled = false; for (const e of form.getElementsByTagName("input")) e.disabled = false;
for (const e of form.getElementsByTagName("button")) e.disabled = false; for (const e of form.getElementsByTagName("button")) e.disabled = false;
} }
} catch (error) { } catch (error: any) {
if (error.toString() === "Error: unable to authenticate") { if (error.toString() === "Error: unable to authenticate") {
const account = document.getElementsByName("account")[0]; const account = document.getElementsByName("account")[0];
if (account) account.setAttribute("invalid", "invalid"); if (account) account.setAttribute("invalid", "invalid");
@ -238,7 +238,7 @@ export class App {
this.addMessage(input.value); this.addMessage(input.value);
const val = input.value; const val = input.value;
input.value = ""; input.value = "";
await this.session.newEvent("60nc0XXDIYUh6QzX4p0rMpCdzDmxghZLZk8dLuQh628", { await this.session.newEvent("24595934-4540-4333-ac2b-78796ac3f25f", {
message: val, message: val,
}); });
} }