Update to the User object
This commit is contained in:
parent
a90e584790
commit
b886e1ad1b
8 changed files with 24 additions and 31 deletions
|
@ -33,6 +33,7 @@ class Localuser {
|
|||
typing = new Map();
|
||||
connectionSucceed = 0;
|
||||
errorBackoff = 0;
|
||||
userMap = new Map();
|
||||
instancePing = {
|
||||
name: "Unknown",
|
||||
};
|
||||
|
@ -119,7 +120,6 @@ class Localuser {
|
|||
this.ws.close(4001);
|
||||
}
|
||||
SnowFlake.clear();
|
||||
User.clear();
|
||||
}
|
||||
swapped = false;
|
||||
async initwebsocket() {
|
||||
|
@ -833,7 +833,7 @@ class Localuser {
|
|||
}, { clear: true });
|
||||
finput.watchForChange(_ => {
|
||||
if (!_) {
|
||||
file = _;
|
||||
file = null;
|
||||
hypouser.avatar = null;
|
||||
hypouser.hypotheticalpfp = true;
|
||||
regen();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue