correct trim switched
This commit is contained in:
parent
4c8ac492c0
commit
8bf7097aaa
2 changed files with 9 additions and 1 deletions
|
@ -47,7 +47,7 @@ function trimswitcher(){
|
|||
if(wellknown.at(-1) !== "/"){
|
||||
wellknown += "/";
|
||||
}
|
||||
wellknown += user.username;
|
||||
wellknown =(user.id||user.email)+"@"+wellknown;
|
||||
if(map.has(wellknown)){
|
||||
const otheruser = map.get(wellknown);
|
||||
if(otheruser[1].serverurls.wellknown.at(-1) === "/"){
|
||||
|
@ -178,6 +178,13 @@ class Specialuser{
|
|||
get localuserStore(){
|
||||
return this.json.localuserStore;
|
||||
}
|
||||
set id(e){
|
||||
this.json.id = e;
|
||||
this.updateLocal();
|
||||
}
|
||||
get id(){
|
||||
return this.json.id;
|
||||
}
|
||||
get uid(){
|
||||
return this.email + this.serverurls.wellknown;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue