Update room id
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
.idea/
|
.idea/
|
||||||
www/res/scripts/*
|
www/res/scripts/*
|
||||||
|
*.sh
|
||||||
|
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user