fix bug
This commit is contained in:
@@ -27,6 +27,7 @@ function trimswitcher() {
|
|||||||
if (wellknown[wellknown.length - 1] !== "/") {
|
if (wellknown[wellknown.length - 1] !== "/") {
|
||||||
wellknown += "/";
|
wellknown += "/";
|
||||||
}
|
}
|
||||||
|
wellknown += user.username;
|
||||||
if (map.has(wellknown)) {
|
if (map.has(wellknown)) {
|
||||||
const otheruser = map.get(wellknown);
|
const otheruser = map.get(wellknown);
|
||||||
if (otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length - 1] === "/") {
|
if (otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length - 1] === "/") {
|
||||||
|
@@ -28,6 +28,7 @@ function trimswitcher(){
|
|||||||
if(wellknown[wellknown.length-1]!=="/"){
|
if(wellknown[wellknown.length-1]!=="/"){
|
||||||
wellknown+="/";
|
wellknown+="/";
|
||||||
}
|
}
|
||||||
|
wellknown+=user.username;
|
||||||
if(map.has(wellknown)){
|
if(map.has(wellknown)){
|
||||||
const otheruser=map.get(wellknown);
|
const otheruser=map.get(wellknown);
|
||||||
if(otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length-1]==="/"){
|
if(otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length-1]==="/"){
|
||||||
|
Reference in New Issue
Block a user