This commit is contained in:
MathMan05 committed 2026-01-31 17:25:58 -06:00
1 parent c47c24daa3
commit 63c2cf4633
2 files changed
+6 -4

No files matched your search

-1
View File
@@ -114,7 +114,6 @@ class I18n {
return [...langmap.keys()].map((e) => e.replace(".json", ""));
}
static setLanguage(lang: string) {
debugger;
if (this.options().indexOf(lang) !== -1) {
getPreferences().then(async (prefs) => {
prefs.locale = lang;
+6 -3
View File
@@ -449,6 +449,9 @@ class Localuser {
if (!this.resume_gateway_url || !this.session_id) {
resume = false;
}
if (!resume) {
this.messages.clear();
}
const doComp = DecompressionStream && !getDeveloperSettings().gatewayCompression;
const ws = new WebSocket(
(resume ? this.resume_gateway_url : this.serverurls.gateway.toString()) +
@@ -590,9 +593,9 @@ class Localuser {
this.unload();
(document.getElementById("loading") as HTMLElement).classList.remove("doneloading");
(document.getElementById("loading") as HTMLElement).classList.add("loading");
this.fetchingmembers = new Map();
this.noncemap = new Map();
this.noncebuild = new Map();
this.fetchingmembers.clear();
this.noncemap.clear();
this.noncebuild.clear();
const loaddesc = document.getElementById("load-desc") as HTMLElement;
if (
(event.code > 1000 && event.code < 1016) ||