This commit is contained in:
MathMan05 2024-08-18 12:22:53 -05:00
parent 6e37f84bd5
commit 83802ef6a2
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ function trimswitcher() {
if (wellknown[wellknown.length - 1] !== "/") {
wellknown += "/";
}
wellknown += user.username;
if (map.has(wellknown)) {
const otheruser = map.get(wellknown);
if (otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length - 1] === "/") {

View file

@ -28,6 +28,7 @@ function trimswitcher(){
if(wellknown[wellknown.length-1]!=="/"){
wellknown+="/";
}
wellknown+=user.username;
if(map.has(wellknown)){
const otheruser=map.get(wellknown);
if(otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length-1]==="/"){