remember colasped catagories

This commit is contained in:
MathMan05 2024-09-02 17:59:27 -05:00
parent c2d657d889
commit a47772dd01
8 changed files with 91 additions and 8 deletions

View file

@ -38,12 +38,19 @@ class Localuser {
name: "Unknown",
};
mfa_enabled;
get perminfo() {
return this.userinfo.localuserStore;
}
set perminfo(e) {
this.userinfo.localuserStore = e;
}
constructor(userinfo) {
if (userinfo === -1) {
return;
}
this.token = userinfo.token;
this.userinfo = userinfo;
this.perminfo.guilds ??= {};
this.serverurls = this.userinfo.serverurls;
this.initialized = false;
this.info = this.serverurls;
@ -99,6 +106,7 @@ class Localuser {
user.relationshipType = thing.type;
}
this.pingEndpoint();
this.userinfo.updateLocal();
}
outoffocus() {
const servers = document.getElementById("servers");